Table of Contents

Interface IReplyDraftSourceReader

Namespace
MailFathom.Application.Emails.ReplyDrafts
Assembly
MailFathom.Application.dll

Reads everything one drafting is written from, out of the mail this deployment already holds.

public interface IReplyDraftSourceReader

Remarks

The port is read-only and joins no transaction, per ADR 0001.

One read rather than two, and that is the control rather than a convenience: the style is derived from the sent mail of the account the answered message belongs to, and asking for it separately would make the account a caller states rather than one the answered message decides. A reply drafted in one person's manner out of another account's mail is the failure this shape rules out by construction.

Methods

ReadSourcesAsync(StoredEmailId, MailboxScope, ReplyDraftBounds, CancellationToken)

Reads the conversation of one message the scope admits, with the manner its own account writes in.