Switch mailboxes from the same searchable picker the composer uses

Featurekamo-internal
Shipped
August 7, 2026 at 7:06 AM UTC
Author
kamo
Commit
235ba69

The switcher was the weaker half of the pair: a select holding every mailbox the member can open, which for org-wide access is every mailbox in the org. It also called /accessible, which builds all of them on every page load — a query per member and another per mailbox. Now a button showing the open mailbox, opening MailboxPickerDialog against /sendable. Nothing loads the whole list, and the switcher and the From field offer the same mailboxes under the same headings because they read the same endpoint. Aliases are excluded via aliases=false. Mail sent to one lands in the mailbox behind it, so there is nothing to open; toOpenableMailbox refuses them as a second line of defence. Selection restore is unchanged in behaviour: the query string already carries the id and address, so the button labels itself without waiting on a lookup and only resolves the display name if it is cheap to.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing