Table of Contents

Class EmailSummary

Namespace
MailFathom.Application.Emails.Summaries
Assembly
MailFathom.Application.dll

Describes one stored email as a mailbox listing shows it, without any of its content.

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

Remarks

The summary is the bounded projection a list operation returns, which is the data-minimization control the privacy design names for listing mail: it carries no raw MIME, no body, and no attachment bytes, and no query that produces it reads the columns that hold them. What it does carry is personal data — a subject, a sender, and the addressees — and inherits the classification of the mail it summarizes.

The addressees are the To addresses only. Cc and Reply-To are stored and filterable but not listed, because a listing exists to let a reader recognize a message and the full participant set belongs to reading it. Display names are absent for the same reason they are not persisted beside the sender's.

Properties

AccountId

Gets the account whose mailbox the email was read from.

Attachments

Gets what the email carries besides its body.

ContentAvailability

Gets whether the raw MIME of the email is stored locally, or why it is not.

FolderAlias

Gets the folder alias the email was read from, which is MailFathom's own name for that folder.

InternetMessageId

Gets the Message-ID the message carried, or null when it carried none this reader accepted.

Position

Gets where the email sits in the timeline order, which is the boundary a continuation cursor is built from.

ReceivedAt

Gets when the last receiving hop recorded the message, or null when no header carried a usable date.

RemoteFlags

Gets the flags a mail server last showed for the email, and when they were read.

SenderAddress

Gets the sender's address as the message wrote it, or null when no usable sender was found.

SenderDisplayName

Gets the display name the sender wrote, or null when the header carried none.

SentAt

Gets when the message says it was sent, or null when no header carried a usable date.

SizeOctets

Gets the size the mail server reported for the message.

StoredEmailId

Gets the stable local identity of the email, which every later request names it by.

Subject

Gets the subject, or null when the message carried none.

ToAddresses

Gets the comparison forms of the To addresses, in header order.