Switch mailboxes from the same searchable picker the composer uses

Featurekamo-internal
Ya
7 Agosti 2026, 07:06 UTC
Mwandishi
kamo
Ahadi ya
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.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei