Module quota

Source
Expand description

§Support for IMAP QUOTA extension.

Structs§

QuotaInfo
Server quota information with an update timestamp.

Constants§

QUOTA_ALLCLEAR_PERCENTAGE
if quota is below this value (again), QuotaExceeding is cleared.
QUOTA_ERROR_THRESHOLD_PERCENTAGE
warning again after this usage percentage is reached, quota icon is “red”.
QUOTA_WARN_THRESHOLD_PERCENTAGE
warn about a nearly full mailbox after this usage percentage is reached. quota icon is “yellow”.

Functions§

get_highest_usage 🔒
get_unique_quota_roots_and_usage 🔒
needs_quota_warning
Checks if a quota warning is needed.