Table of Contents

Class StoredEmailAwaitingRuleEvaluation

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

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

public sealed record StoredEmailAwaitingRuleEvaluation : IEquatable<StoredEmailAwaitingRuleEvaluation>
Inheritance
StoredEmailAwaitingRuleEvaluation
Implements
Inherited Members

Constructors

StoredEmailAwaitingRuleEvaluation(StoredEmailId, EmailOccurrenceId, MailRuleEmailFacts, bool)

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

Properties

AwaitsExtraction

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.

Facts

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

Occurrence

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.

StoredEmailId

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