Table of Contents

Constructor MailEnrichmentPass

Namespace
MailFathom.Application.Emails.Enrichment
Assembly
MailFathom.Application.dll

MailEnrichmentPass(IStoredEmailEnrichmentStore, IEmailEnricher, MailCalendarProposals, IMailAccountLanguages, MailDerivedTaskProposals, SensitiveContentEgressGuard, OptimisticConcurrencyRetryPolicy, TimeProvider)

Initializes the pass from the state it walks and the two readings it asks.

public MailEnrichmentPass(IStoredEmailEnrichmentStore enrichmentStore, IEmailEnricher enricher, MailCalendarProposals calendarProposals, IMailAccountLanguages accountLanguages, MailDerivedTaskProposals taskProposals, SensitiveContentEgressGuard egressGuard, OptimisticConcurrencyRetryPolicy commitPolicy, TimeProvider timeProvider)

Parameters

enrichmentStore IStoredEmailEnrichmentStore

Reads what is awaiting a derivation and writes down what one produced.

enricher IEmailEnricher

Derives one message's marks, in whichever state the deployment left it.

calendarProposals MailCalendarProposals

Reads the dates one message names and writes them onto the calendars the mailbox serves.

accountLanguages IMailAccountLanguages

Answers which language the account's mail is read in.

taskProposals MailDerivedTaskProposals

Offers what a message asked for to the people the mailbox is assigned to.

egressGuard SensitiveContentEgressGuard

Holds the posture the passages are scanned under while the pass runs.

commitPolicy OptimisticConcurrencyRetryPolicy

Commits one message's record, retrying a conflict with a competing writer.

timeProvider TimeProvider

Reads when a derivation ran.

Exceptions

ArgumentNullException

Thrown when any argument is null.