Table of Contents

Constructor ExtractedEmailMetadata

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

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

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

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

Parameters

OccurrenceId EmailOccurrenceId

The stable remote occurrence the metadata was read from.

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.

Remarks

Participants, subject, thread identifiers, and body text are personal data by default. Nothing in this record may be written to a log; only counts and the occurrence identity are safe to report.