Class EnrichableEmail
- Namespace
- MailFathom.Application.Emails.Enrichment
- Assembly
- MailFathom.Application.dll
One message as a derivation is shown it: what a reader would see at the top, and its passages.
public sealed record EnrichableEmail : IEquatable<EnrichableEmail>
- Inheritance
-
EnrichableEmail
- Implements
- Inherited Members
Remarks
Deliberately narrow. A derivation is shown the subject, the arrival instant, and the text — never the sender, the addressees, the folder, or the account — because none of those is what a sentence about the message is derived from, and every one of them is a participant this deployment would then be sending to a provider for no reading it buys.
The arrival instant is here so that a relative date the text states can be resolved into one a row can show. It is the message's own metadata rather than the current time, which is what keeps a derivation reproducible: the same message derived again next month resolves *by Friday* to the same day.
Constructors
- EnrichableEmail(StoredEmailId, string?, DateTimeOffset?, IReadOnlyList<EnrichablePassage>)
One message as a derivation is shown it: what a reader would see at the top, and its passages.
Properties
- Passages
The message's own passages, in reading order and bounded by what one derivation may read.
- ReceivedAt
When the last receiving hop recorded the message, which is what a date in the text is read against.
- StoredEmailId
The message being derived from.