messaging: Allow sending outbound mail from a verified account alias (#24560)
Outbound sending always used the connected account handle, so an account with verified aliases could only send as its primary address. `sendEmail` now takes an optional `fromHandle`, accepted only if it matches the account handle or one of its stored aliases. The From row lists every address an account can send from and sends the chosen one. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/24560?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
N
neo773 committed
f09c89a2693ee49f1502ada3de1523112eb6e53f
Parent: 85360a7
Committed by GitHub <noreply@github.com>
on 8/24/2026, 2:51:36 PM