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
OccurrenceIdEmailOccurrenceIdThe stable remote occurrence the metadata was read from.
SubjectstringThe decoded subject, or null when the message carried none.
SentAtDateTimeOffset?The
Dateheader in UTC, or null when the message carried none or wrote an unparseable one.ReceivedAtDateTimeOffset?When the last receiving hop recorded the message in UTC, or null when no
Receivedheader carried a usable date.ParticipantsIReadOnlyList<EmailParticipant>Every usable address the message wrote, each paired with the header it appeared in.
ThreadReferencesEmailThreadReferencesThe identifiers that place the message in a conversation.
AttachmentsEmailAttachmentSummaryWhat the message carries besides its body.
TextExtractedEmailTextThe 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.