Table of Contents

Class MailAnswerCitation

Namespace
MailFathom.Application.Retrieval.AskMail
Assembly
MailFathom.Application.dll

One email an answer was drawn from, named so the reader can go and read it.

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

Remarks

A citation is what turns an answer into a starting point rather than something to be believed: the identifier resolves through the single-email read, so every claim can be checked against the message it came from.

It deliberately carries no extract. The passage the run retrieved is bounded mail content that has already reached a provider, and republishing it here would put mail into a second response that nobody asked to read; the subject and the received time are what let a reader recognize the message before fetching it.

One per email rather than one per passage. A run makes several lookups and one message can answer more than one of them, and a caller reading a list of sources wants the messages rather than the number of times each was found.

Constructors

MailAnswerCitation(StoredEmailId, MailAccountId, MailFolderAlias, string?, DateTimeOffset?)

One email an answer was drawn from, named so the reader can go and read it.

Properties

AccountId

The account whose mailbox it was read from.

FolderAlias

The folder alias it was read from.

ReceivedAt

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

StoredEmailId

The stable local identity, which is the same one every other read names an email by.

Subject

The subject it carried, or null when it carried none.