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 carries no attachment bytes in any shape, which is a property of the type rather than of a caller's discipline: ExtractedEmailAttachment describes a part and has nowhere to put its content.

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 when the request asked to describe them, and never any of their bytes.

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.