Table of Contents

Class ContactRelationshipReader

Namespace
MailFathom.Application.Contacts.Relationship
Assembly
MailFathom.Application.dll

Reads where the correspondence with one person stands, when somebody opens that person.

public sealed class ContactRelationshipReader
Inheritance
ContactRelationshipReader
Inherited Members

Remarks

Nothing here runs unless a person opened that contact. There is no sweep over the book, no schedule, and no background pass: one run, scoped to one contact, when a reader asks for it. A product that derived a card for every correspondent nobody looked at would spend an operator's allowance on a book rather than on a page, and would put every contact's mail in front of a provider to do it.

It is the correlation and one provider call, in that order. The conversations and the documents are read by ContactCorrespondenceReader — under the scope, the bounds, and the scan that read already applies — and that answer is the whole of what the derivation may see. A correspondence the caller may not read is therefore a correspondence this cannot derive from, rather than one it filters afterwards.

A person the readable mail says nothing about is answered before any provider is reached. There is nothing to ground a card in, and asking a model anyway would produce a fluent paragraph about a correspondence that does not exist.

Both halves of the privacy posture are here. What goes out to a provider was already guarded by the correlation that read it, and what comes back is guarded again before it reaches a client — because a card is composed out of somebody's mail and carries whatever that mail carried.

Constructors

ContactRelationshipReader(ContactCorrespondenceReader, IContactRelationshipDeriver, MailboxScopeResolver, SensitiveContentEgressGuard, AccessAuthorization, IUserLanguages)

Initializes the use case.

Methods

ReadAsync(Contact, CancellationToken)

Derives where the correspondence with one of the acting user's own contacts stands.