Class CorrespondingThread
- Namespace
- MailFathom.Application.Contacts.Correspondence
- Assembly
- MailFathom.Application.dll
One conversation a contact's addresses appear in, as an opened contact reports it.
public sealed record CorrespondingThread : IEquatable<CorrespondingThread>
- Inheritance
-
CorrespondingThread
- Implements
- Inherited Members
Remarks
The message is the one that names this person rather than the conversation's own latest, and the subject and the instant are read off it for the same reason: what an opened contact answers is when this exchange last involved them, which a conversation that has run on without them would otherwise misreport as recent.
Nothing here is stored. Every field is computed from the mail index on the read, which is what keeps a contact from growing a second copy of a correspondence that the mailbox already holds.
Constructors
- CorrespondingThread(EmailThreadId, StoredEmailId, string?, DateTimeOffset)
One conversation a contact's addresses appear in, as an opened contact reports it.
Properties
- LastCorrespondedAt
When that message arrived.
- LatestStoredEmailId
The most recent message of it naming this person, so a client can open the message as well as the exchange.
- ThreadId
The conversation, which is what a client opens the exchange by.