using AIStudio.Tools.Databases.IndexStore;
namespace AIStudio.Tools.Services;
///
/// One mail a search of a mailbox found.
///
/// What a list of mails shows about the mail.
/// The passage of the mail which matched the query best, or null when the mails were listed without a query.
public sealed record MailSearchHit(MailSummary Summary, string? Passage);