Table of Contents

Constructor ExtractedEmailMetadata

Namespace
MailFathom.Application.Emails.Extraction
Assembly
MailFathom.Application.dll

ExtractedEmailMetadata(MailAccountId, string?, DateTimeOffset?, DateTimeOffset?, IReadOnlyList<EmailParticipant>, EmailThreadReferences, EmailAttachmentSummary, ExtractedEmailText, SenderAuthentication)

Carries the normalized metadata read out of one message's raw MIME.

public ExtractedEmailMetadata(MailAccountId AccountId, string? Subject, DateTimeOffset? SentAt, DateTimeOffset? ReceivedAt, IReadOnlyList<EmailParticipant> Participants, EmailThreadReferences ThreadReferences, EmailAttachmentSummary Attachments, ExtractedEmailText Text, SenderAuthentication SenderAuthentication)

Parameters

AccountId MailAccountId

The account whose mail the message is, which decides whose authentication statements are believed.

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.

Attachments EmailAttachmentSummary

What the message carries besides its body.

Text ExtractedEmailText

The searchable text the body yielded, or the reason it yielded none.

SenderAuthentication SenderAuthentication

What the receiving server established about who sent the message.

Remarks

Participants, subject, thread identifiers, body text, and every domain the sender-authentication verdict names are personal data by default. Nothing in this record may be written to a log; only counts, the account, and the verdict's own outcome are safe to report.