Reference

Mail options

Fields accepted by `mailer.send` and `mailer.sendBulk`.

FieldType
from, toAddressInput
subjectstring
text, htmlstring
cc, bcc, replyToAddressInput
attachmentsAttachment[]
headersRecord<string, string>
messageId, idempotencyKeystring
template, datatemplate plugin fields
reactReact plugin field

AddressInput accepts a string, { address, name? }, or an array of either.