Table of Contents

Constructor MailQuestion

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

MailQuestion(MailQuestionText, MailboxScope)

What a caller asks about their mail, and the mail the answer may be drawn from.

public MailQuestion(MailQuestionText Text, MailboxScope Scope)

Parameters

Text MailQuestionText

The validated question, in the words the caller wrote it in.

Scope MailboxScope

The accounts and folders the answer may be drawn from.

Remarks

The scope belongs to the question rather than to the deployment because it is the caller's authorization expressed as data: a question asked over one account must not be answerable from another, whatever the model is later told. It is resolved before the run starts and applied to every retrieval the run makes.

Both halves arrive validated and neither can be built otherwise, so an entrypoint added later reaches the answering port with a bounded question and a resolved scope or reaches it not at all.