mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 16:13:15 +00:00
`ProComposeTabBody` rendered `<EmailComposer>` without `composeFromAccountEmail`; only the standard shell in `components/mail/mail-app.tsx` passed it, so `mode === 'compose'` resolved `findComposeIdentityId(identities, undefined)` to null and every new message in the Pro shell defaulted to the account owner even with a shared folder open. That covered the whole compose surface there, since the Pro shell hoists every "show composer" intent - `mailto:` links included - into a tab. Resolved exactly as the standard shell does, so both share one rule, but read once at mount: a tab body stays mounted while the tab lives, so subscribing to the mailbox list would re-render the composer and its editor on every counter refresh. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>