Enum RemotelyDeletedEmailDisposition
- Namespace
- MailFathom.Domain.Emails
- Assembly
- MailFathom.Domain.dll
States what becomes of the local copy of an email the mail server no longer holds.
public enum RemotelyDeletedEmailDisposition
Fields
EraseLocalCopy = 1Removes the local row together with its raw MIME and everything derived from it.
Nothing of the email survives locally, so the local mailbox follows the server's own. The removal happens as the disappearance is observed, which is deliberate and irreversible. It is the default, because every deletion setting of an account defaults to deleting completely: mail the server no longer holds is mail its user deleted.
RetainTombstone = 0Keeps the local row as a tombstone that every mailbox query excludes.
The record that the email existed survives, which is what makes a disappearance auditable rather than silent, and a server that misreports a folder costs a hidden row rather than a destroyed local copy. An account asks for it by name: it is no longer the default.
Remarks
The choice is made once per observed disappearance, by the run that observes it, and never revisited. An email already tombstoned under one disposition is outside every later reconciliation window — the server has nothing left to report about it — so changing the configured disposition governs the disappearances observed from then on and leaves what is already recorded exactly as it is.
Both values describe a purely local decision. Neither reaches the server: MailFathom reads mail read-only, and no path
here issues an IMAP STORE or EXPUNGE.