How to send attachments with your transactional email.
attachments
key to the standard transaction API email payload. The attachments
key should be an array of objects, each with the following keys:
filename
- the name of the filecontentType
- the MIME type of the filedata
- the base64 encoded content of the fileattachments
key is in addition to the standard payload.