Property SelectedEmails
- Namespace
- MailFathom.Application.Emails.Mailboxes
- Assembly
- MailFathom.Application.dll
SelectedEmails
Gets the individual emails a query is restricted to, deduplicated and ordered, or empty when it is restricted to none.
public IReadOnlyList<StoredEmailId> SelectedEmails { get; }
Property Value
Remarks
The narrowing a question asked about a selection carries, and the one place a scope names mail rather than the containers holding it. Empty means no such narrowing, never that no email is readable — which is the opposite of how ReadableFolders reads, because that list is configuration and this one is a caller's choice.
An identifier naming mail in an account this scope does not hold matches nothing rather than being refused. The account containment is composed whatever else narrows the query, so a caller cannot reach a mailbox they are not assigned by naming an identifier from it, and answering with nothing is what naming an email that no longer exists already does.