Table of Contents

Constructor StoredEmailAwaitingRuleEvaluation

Namespace
MailFathom.Application.Rules.Evaluation
Assembly
MailFathom.Application.dll

StoredEmailAwaitingRuleEvaluation(StoredEmailId, EmailOccurrenceId, MailRuleEmailFacts, bool)

One stored email a pass is about to evaluate, with everything a condition can read without a second query.

public StoredEmailAwaitingRuleEvaluation(StoredEmailId StoredEmailId, EmailOccurrenceId Occurrence, MailRuleEmailFacts Facts, bool AwaitsExtraction)

Parameters

StoredEmailId StoredEmailId

The local identity the pass records its progress and its evaluation against.

Occurrence EmailOccurrenceId

Where the email is on the mail server, which is what a change a matching rule asks for is issued against. It is read with the facts rather than looked up afterwards, because an occurrence a later query returned would be the one the mailbox holds now rather than the one the rule matched.

Facts MailRuleEmailFacts

The metadata every fact but the body text is resolved from.

AwaitsExtraction bool

Whether text is still expected to be derived from this email's content — the content already stored, or the content a later run will fetch once local storage has headroom for it. It separates a message whose body text has not been extracted yet from one that will never have any, which is the difference between skipping the email until the text arrives and evaluating it now with the fact absent.