Files
zeekayandHanzo Dev f29acbe6ae fix(email): read the MailChannels sender through the address helper
@types/nodemailer 8 types a message's `from` as one address or a list, as
nodemailer has always accepted. The transport only knew a string or one
Address, so the list case did not type-check and, at run time, posted a
sender with no email.

The sender now goes through toMailChannelsAddresses, which already handles
all three shapes for to, cc and bcc, and the first address is the sender. A
string or a single Address comes out exactly as before.
mailchannels.test.ts sends each shape through nodemailer and reads what was
posted; against the old code the list case fails with `{}`.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-19 04:27:20 -07:00
..