Constructor ExtractedEmailMetadata
- Namespace
- MailFathom.Application.Emails.Extraction
- Assembly
- MailFathom.Application.dll
ExtractedEmailMetadata(EmailOccurrenceId, string?, DateTimeOffset?, DateTimeOffset?, IReadOnlyList<EmailParticipant>, EmailThreadReferences, EmailAttachmentSummary, ExtractedEmailText, SenderAuthentication)
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, SenderAuthentication SenderAuthentication)
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.
SenderAuthenticationSenderAuthenticationWhat 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 occurrence identity, and the verdict's own outcome are safe to report.