Table of Contents

Constructor ReplyDraftSources

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

ReplyDraftSources(string?, IReadOnlyList<ReplyDraftMessage>, IReadOnlyList<ReplyDraftParticipant>, IReadOnlyList<string>)

Everything one drafting is written from: the correspondence it answers, who is in it, and how its author writes.

public ReplyDraftSources(string? Subject, IReadOnlyList<ReplyDraftMessage> Messages, IReadOnlyList<ReplyDraftParticipant> Participants, IReadOnlyList<string> StyleSamples)

Parameters

Subject string

The subject the conversation is read under, or null where no message carried one.

Messages IReadOnlyList<ReplyDraftMessage>

The conversation's most recent messages in its own order, which is what the draft is grounded in and cites.

Participants IReadOnlyList<ReplyDraftParticipant>

The people the conversation names, which is the whole set a proposed recipient may come from.

StyleSamples IReadOnlyList<string>

What the person themselves has recently sent, which the draft's manner is derived from, and which is empty where a deployment derives no style.

Remarks

Deliberately narrow, exactly as a conversation's own derivation is. What a draft is written from is what the people in the exchange said and how this person writes; no folder, no account, and no mailbox is part of either, and every one of them would be somebody's data sent to a provider for nothing the reply would gain.

The participants carry an address and the messages do not, and the difference is load-bearing: an address never travels to a provider, and a proposed recipient is answered as a position in this list rather than as text a model wrote. That is what makes it impossible for a drafting to address a reply to somebody the conversation never named.