Table of Contents

Constructor EmailContentHeaders

Namespace
MailFathom.Application.EmailContent.Rendering
Assembly
MailFathom.Application.dll

EmailContentHeaders(string?, DateTimeOffset?, DateTimeOffset?, IReadOnlyList<EmailParticipant>, EmailThreadReferences)

Carries the normalized headers one email displays above its body.

public EmailContentHeaders(string? Subject, DateTimeOffset? SentAt, DateTimeOffset? ReceivedAt, IReadOnlyList<EmailParticipant> Participants, EmailThreadReferences ThreadReferences)

Parameters

Subject string

The decoded subject, or null when the message carried none.

SentAt DateTimeOffset?

The Date header in UTC, or null when the message carried none or wrote an unparseable one.

ReceivedAt DateTimeOffset?

When the last receiving hop recorded the message in UTC, or null when no Received header carried a usable date.

Participants IReadOnlyList<EmailParticipant>

Every usable address the message wrote, each paired with the header it appeared in.

ThreadReferences EmailThreadReferences

The identifiers that place the message in a conversation.

Remarks

These are read from the stored raw MIME during the parse that produces the body, rather than from the columns the mailbox listing is served out of. The row keeps only the comparison forms a filter needs, so display names, the Bcc a message may carry for its own recipient, and the Sender header exist nowhere else — a reader shown the listing's copy would be shown a narrower message than the one that arrived.

Every value here is mail content and personal data. Nothing in this record may be written to a log; only the counts and the fact that a header was absent are safe to report.