fix: prompt to create or pick folder when archive is missing (#286) (#290)

This commit was merged in pull request #290.
This commit is contained in:
Bot of Thomas Güttler
2026-05-27 19:06:37 +02:00
parent 2f975829e5
commit 4e32984ecc
11 changed files with 798 additions and 173 deletions
@@ -11,4 +11,13 @@ abstract class MailboxRepository {
/// Deletes all locally-cached mailbox rows for [accountId].
Future<void> clearForResync(String accountId);
/// Creates a new mailbox named [name] for [accountId] and tags it with
/// [role] in the local database. For JMAP accounts the role is also sent
/// to the server. Returns the newly created [Mailbox].
Future<Mailbox> createMailboxWithRole(
String accountId,
String name,
String role,
);
}