Table of Contents

Class ReadEmailContent

Namespace
MailFathom.Application.Emails.GetEmailContent
Assembly
MailFathom.Application.dll

One email as a reader receives it: its headers, its body, and what it carries besides.

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

Remarks

This is the most sensitive projection MailFathom publishes. It is message content in full, and it inherits every classification, retention, access, and erasure constraint of the mail it was read from. Nothing in it may be logged.

It describes every attachment a message carries and adds a short-lived link to fetch one only where a request asked for it. No read model anywhere carries a file's octets, and the summary beside the list still counts what the message holds without describing any of it.

Properties

AccountId

Gets the account whose mailbox the email was read from.

AttachmentSummary

Gets the counts for what the message carries besides its body, or null when nobody has counted them.

Attachments

Gets one entry per attachment, described always and carrying a link only where the request asked for one.

Body

Gets the body representations, or the reason there are none.

FolderAlias

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

Headers

Gets the normalized headers the message displays.

RemoteFlags

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

SizeOctets

Gets the size the mail server reported for the message.

StoredEmailId

Gets the stable local identity of the email, which is the one the request named.