Constructor RemoteEmailMetadata
- Namespace
- MailFathom.Application.Synchronization
- Assembly
- MailFathom.Application.dll
RemoteEmailMetadata(EmailOccurrenceId, string?, string?, DateTimeOffset?, long, bool)
Contains privacy-minimized metadata required for local mailbox timelines and synchronization progress.
public RemoteEmailMetadata(EmailOccurrenceId OccurrenceId, string? InternetMessageId, string? Subject, DateTimeOffset? SentAt, long SizeOctets, bool IsRemotelySeen)
Parameters
OccurrenceIdEmailOccurrenceIdWhere the message sits on the server, which is its identity for this account.
InternetMessageIdstringThe message identifier its author's client wrote, when the server reported one.
SubjectstringThe subject line the envelope carried, when the server reported one.
SentAtDateTimeOffset?When the envelope says the message was sent, normalized to UTC.
SizeOctetslongHow large the server says the message is, which is what the content budget is spent against.
IsRemotelySeenboolWhether the server had marked the message
\Seenwhen it described it. It is read here rather than from the stored row because the row's flag is written by the backward pass, whose window need not cover what the forward pass has just stored — so a message stored in this run has no reconciled flag to consult and would read as unread whatever the server said. What turns on it is whether the run reports the message as mail that arrived. A reconstruction describing an occurrence some earlier run discovered therefore has no such report to carry and says true, which is the reading no arrival can follow from, rather than a column it must not read.