Reference
Mail options
Fields accepted by `mailer.send` and `mailer.sendBulk`.
| Field | Type |
|---|---|
from, to | AddressInput |
subject | string |
text, html | string |
cc, bcc, replyTo | AddressInput |
attachments | Attachment[] |
headers | Record<string, string> |
messageId, idempotencyKey | string |
template, data | template plugin fields |
react | React plugin field |
AddressInput accepts a string, { address, name? }, or an array of either.