- Shipped
- October 14, 2026 at 11:41 PM UTC
- Author
- Kamo
- Commit
- a85c160
9351aac named a nameless From with the mailbox row's display_name first, and kept any name the request sent. The composer sends that same row name, and rows can hold a short or stale name nobody chose: Dylan Ward's mailbox is named "Dylan", so his mail would still have gone out under the wrong name. The first and last name on the profile of the member who holds the mailbox as primary now wins for the mailbox's own address, its alias- domain addresses and its unnamed aliases, over both the row and the request. An alias with a name of its own keeps it; a shared or other address is untouched. Only when the profile names no one does the mailbox's display name apply, never a username or member id (MemberDisplayName.fullName). The From picker shows the member's own primary rows under the same name, so what is picked is what is sent. Also registers AiReplyTurnGuard in MailSearchWiringTest, which has failed since 9ba96a1 added it to EmailController.
