Table of Contents

Class EmailEnrichmentMark

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

One reading of a message, with the reason behind it, what it rests on, and what produced it.

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

Remarks

A mark is never the text alone. The product requires a mark on a list to expand into the evidence and the rule that produced it, so a value without Reason, Evidence, and Provenance is not something this system stores — which is why they are constructor arguments rather than properties a caller may leave unset.

The evidence names passages of the message the mark is about, in the same terms the run surface's citations name them, so the same reader resolves both: a passage identifier and the message it hangs on are what a fragment citation carries, and following one is reading what chunking already derived rather than fetching mail again. A passage the store no longer holds resolves to nothing, which is a mark whose evidence has been re-derived rather than a mark that never had any.

The text and the reason are derived from mail and are personal data of the same standing as the message: never logged, never attached to a span, and scanned by whatever egress guard is switched on before either leaves this deployment.

Fields

MaximumEvidenceCount

The greatest number of passages one mark may cite.

MaximumTextLength

The greatest length the text of a mark or its reason carries before it is shortened to it.

Properties

Aspect

Gets which of the three readings this mark carries.

DueAt

Gets when the commitment falls due, or null where the mark names no date.

Evidence

Gets the passages of the message the mark rests on, in the order the producer named them.

Provenance

Gets what produced the mark, and what within that source it was.

Reason

Gets why the producer says it, which is what a reader checks before believing the mark.

Text

Gets what the mark says, which is the sentence a row draws.

Methods

Create(EmailEnrichmentAspect, string, string, IReadOnlyList<EmailChunkId>, EmailEnrichmentProvenance, DateTimeOffset?)

Records one reading of a message.