Table of Contents

Class ExtractedEmailMetadata

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

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

public sealed record ExtractedEmailMetadata : IEquatable<ExtractedEmailMetadata>
Inheritance
ExtractedEmailMetadata
Implements
Inherited Members

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.

Constructors

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

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

Properties

Attachments

What the message carries besides its body.

OccurrenceId

The stable remote occurrence the metadata was read from.

Participants

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

ReceivedAt

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

SentAt

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

Subject

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

Text

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

ThreadReferences

The identifiers that place the message in a conversation.