Table of Contents

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

OccurrenceId EmailOccurrenceId

Where the message sits on the server, which is its identity for this account.

InternetMessageId string

The message identifier its author's client wrote, when the server reported one.

Subject string

The subject line the envelope carried, when the server reported one.

SentAt DateTimeOffset?

When the envelope says the message was sent, normalized to UTC.

SizeOctets long

How large the server says the message is, which is what the content budget is spent against.

IsRemotelySeen bool

Whether the server had marked the message \Seen when 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.