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

@@ -381,7 +381,8 @@ public sealed class MailboxRetrievalService(SettingsManager settingsManager, Dat
continue;
var inReplyToMailId = await indexStore.FindMailByMessageIdAsync(mailbox.Id, mail.InReplyTo, token);
return new(mailbox, summaries[0], mail, inReplyToMailId == mailId ? null : inReplyToMailId);
var folders = await indexStore.GetMailFoldersAsync(mailbox.Id, token);
return new(mailbox, summaries[0], mail, inReplyToMailId == mailId ? null : inReplyToMailId, folders);
}
return null;