Improved mailboxes to include sent mails and drafts (#1038)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-10 10:48:54 +02:00
1 parent 67d44588d4
commit 5c319c45a0
31 files changed
+792 -103

No files matched your search

@@ -10,4 +10,5 @@ namespace AIStudio.Tools.Services;
/// <param name="Summary">What a list of mails shows about the mail, e.g., its subject and its folders.</param>
/// <param name="Mail">Its addresses, its parts as AI Studio read them, and its places on the server.</param>
/// <param name="InReplyToMailId">The id of the mail it replies to, or null when the index does not hold that one.</param>
public sealed record MailReading(DataSourceMailbox Mailbox, MailSummary Summary, MailRecord Mail, string? InReplyToMailId);
/// <param name="MailboxFolders">The folders of the mailbox, which tell what the folders of the mail are for, e.g., the sent mails.</param>
public sealed record MailReading(DataSourceMailbox Mailbox, MailSummary Summary, MailRecord Mail, string? InReplyToMailId, IReadOnlyList<MailFolderRecord> MailboxFolders);