Table of Contents

Method ReadExtractedBodyTextAsync

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

ReadExtractedBodyTextAsync(StoredEmailId, CancellationToken)

Reads the text extracted from one email's body.

Task<string?> ReadExtractedBodyTextAsync(StoredEmailId storedEmailId, CancellationToken cancellationToken)

Parameters

storedEmailId StoredEmailId

The email a condition named the body text of.

cancellationToken CancellationToken

Cancels the read, which the evaluation timeout also reaches through.

Returns

Task<string>

The extracted text, or null when no extraction has produced any for this email.

Remarks

Reached only when a condition names the body-text fact, and at most once per email per pass, which MailRuleFacts is what guarantees.