Default folders: new accounts get an Archive folder #378

Merged
jcoffey-dev merged 1 commits from feat/default-archive-folder into main 2026-11-11 18:56:43 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev fcc8551e90 Default folders: new accounts get an Archive folder
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 10m26s
With no defaultFolders configured, a new account now gets Archive (special use Archive, subscribed) beside Inbox, Deleted Items, Junk Mail, Drafts and Sent Items. It uses the mailbox id already reserved for it. A configured list is the admin's choice and still gets only the five required folders filled in. Existing accounts are unchanged.

Tests: the JMAP mailbox test checks a new account's folders; the Sieve special-use test now uses Important as the role nobody has, since Archive exists by default.

Fixes #374
2026-11-11 11:45:53 -07:00