Table of Contents

Class AskMailRequest

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

What a caller asks when they ask a question about their mail.

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

Remarks

This is the unvalidated contract: the question is whatever the caller wrote, and the scope is what they named rather than what this deployment serves. MailboxQuestionReader turns both into the validated MailQuestionText and the resolved scope a run is composed around, so no protocol adapter can reach the answering port with either one unchecked.

There is no structured filter beside them, and that is a decision rather than an omission. A question is answered from what the model looks up while answering, and the lookups it makes are its own; a sender or a date range supplied here would narrow every one of them without the model knowing why its searches were returning nothing.

Properties

Accounts

Gets the text naming the accounts the answer may be drawn from, or empty for every account this deployment serves.

Folders

Gets the folders the answer may be drawn from, or empty for every folder of the named accounts.

QuestionText

Gets the question to answer.