Enum StoredEmailContentAvailability
- Namespace
- MailFathom.Domain.Emails
- Assembly
- MailFathom.Domain.dll
Records whether raw MIME content is locally available for a stored email occurrence.
public enum StoredEmailContentAvailability
Fields
Available = 0Raw MIME content is stored locally next to the occurrence metadata.
AwaitingStorageHeadroom = 2Raw MIME content was deliberately not stored because local content storage had reached its configured ceiling, and is fetched once that ceiling has headroom again.
It stays distinct from ExceededSizeLimit because the two have opposite futures. An email above the size limit will exceed it on every later run, so nothing is waiting for it; an email recorded here is one whose payload the mailbox would have served, and a later run fetches it as soon as the ceiling permits. Collapsing them would leave a queue that nothing could tell apart from a permanent gap.
ExceededSizeLimit = 1Raw MIME content was deliberately not stored because the email exceeded the configured size limit.
Remarks
Synchronization must never leave a discovered occurrence without a durable local trace. When content is intentionally not stored, the occurrence is still recorded with the reason so the gap stays auditable instead of existing only as a counter in a log line.