Class AccountCoverage
- Namespace
- MailFathom.Application.Discovery.Presentation
- Assembly
- MailFathom.Application.dll
What one run read of one account: which account it was, how far back and forward the mail it found reached, and how current the local copy of that account was.
public sealed record AccountCoverage : IEquatable<AccountCoverage>
- Inheritance
-
AccountCoverage
- Implements
- Inherited Members
Remarks
The reason a plan carries this at all is that a client reads a synchronized copy. An account nobody has reconciled since yesterday means the answer may be missing what arrived since, and that is not a footnote — it may be the whole reason the answer is wrong. Saying it as a value per account is what lets a client draw it beside the answer rather than leaving a reader to remember which mailbox was behind.
The dates are the run's own reach rather than the mailbox's. They bound the mail this run actually drew on, so a question about last month that found nothing older says so, and a reader can see that an answer about a decade of correspondence rested on three weeks of it. They are absent together where the run found nothing in the account, which is itself worth drawing: an account that was read and yielded nothing is not an account that was skipped.
The account is named by MailFathom's own generated identifier, which is what every other surface names an account by and what a client already holds a display name for. No host, no user name, and no address is here: how the deployment reaches a mailbox is the operator's business rather than a property of an answer.
Constructors
- AccountCoverage(PresentationText, PresentationFreshness, DateTimeOffset?, DateTimeOffset?)
Initializes what one run read of one account.
Properties
- Account
Gets MailFathom's own generated identifier for the account.
- EarliestReceivedAt
Gets when the oldest mail the run drew on from this account arrived, or null where it drew on none.
- Freshness
Gets how current the local copy of the account was when the run read it.
- LatestReceivedAt
Gets when the newest mail the run drew on from this account arrived, or null where it drew on none.