Table of Contents

Constructor StoredEmailExtractionBackfill

Namespace
MailFathom.Application.Emails.Extraction
Assembly
MailFathom.Application.dll

StoredEmailExtractionBackfill(IStoredEmailExtractionBackfillStore, IEmailContentStore, IEmailMimeReader, OptimisticConcurrencyRetryPolicy, StoredEmailExtractionBackfillOptions)

Initializes a new extraction backfill.

public StoredEmailExtractionBackfill(IStoredEmailExtractionBackfillStore backfillStore, IEmailContentStore contentStore, IEmailMimeReader mimeReader, OptimisticConcurrencyRetryPolicy concurrencyRetryPolicy, StoredEmailExtractionBackfillOptions options)

Parameters

backfillStore IStoredEmailExtractionBackfillStore

Reads what remains and writes what one email's re-reading produced.

contentStore IEmailContentStore

Reads back the raw MIME an earlier run stored.

mimeReader IEmailMimeReader

Turns that raw MIME into normalized metadata and text.

concurrencyRetryPolicy OptimisticConcurrencyRetryPolicy

Commits a batch, retrying a conflict with a competing writer.

options StoredEmailExtractionBackfillOptions

Bounds one run.

Exceptions

ArgumentNullException

Thrown when any argument is null.