Table of Contents

Class BrowsedThreadEmail

Namespace
MailFathom.Application.Emails.BrowseThread
Assembly
MailFathom.Application.dll

One message of a conversation, as a page of that conversation returns it.

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

Remarks

The summary is the listing's own projection rather than a shape of this reading's own, so a client parses one message across the surface and a list row and a thread row can never disagree about one message.

The contribution is the message's own text as extraction trimmed it — no quoted history and no signature block — which is what keeps the eighth reply of a thread from redrawing the seven above it. It is what a collapsed row shows; the whole message, quoted history included, is reached by the identity the summary carries.

The derivation is on this shape for the same reason the summary is: a message is one thing across this surface, and a conversation row that always answered null would be stating that no derivation has reached a message a list row beside it draws marks for.

Constructors

BrowsedThreadEmail(EmailSummary, int, StoredEmailId?, string?, EmailEnrichment?)

One message of a conversation, as a page of that conversation returns it.

Properties

AnsweredStoredEmailId

The message this one answers among the ones the caller is shown, or null when it is a root of what they are shown.

Contribution

The bounded opening of what this message added, or null where nothing has extracted it yet.

Email

The message itself, in the same projection a list row is drawn from.

Enrichment

What a derivation concluded about the message, or null where none has reached it.

Position

The zero-based place the message holds in the conversation's order.