Class MailboxTimelineReader
- Namespace
- MailFathom.Application.Emails.ListEmails
- Assembly
- MailFathom.Application.dll
Lists emails from the local mailbox copy as one bounded page of a keyset walk.
public sealed class MailboxTimelineReader
- Inheritance
-
MailboxTimelineReader
- Inherited Members
Remarks
The use case owns everything between an unvalidated request and a page: it normalizes and bounds the filters, refuses an account this deployment does not serve, decides the effective page size, decodes and authenticates the continuation cursor against the filters it was issued for, and issues the cursor that continues the walk. Storage does none of that, and no protocol adapter repeats it.
It reaches no mail server. A listing answers from what synchronization has already stored, which is what keeps an MCP read independent of IMAP availability, and it reports how current that copy is instead of pretending it is live.
Constructors
- MailboxTimelineReader(IStoredEmailTimelineReader, ISynchronizationFreshnessReader, MailboxScopeResolver)
Initializes the use case.
Methods
- ListEmailsAsync(ListEmailsRequest, CancellationToken)
Lists one page of emails.