Send transactional email to one recipient. Email can contain text and/or html representation.
{
"from": "no-reply@example.com",
"to": "jane.doe@example.com",
"subject": "Your order has been shipped!",
"text": "Hello Jane, your recent order on Our Shop has been shipped.",
"attachments": [
{
"filename": "order.pdf",
"type": "application/pdf",
"content": "JVBERi0xLjQKJeLjz9MKMyAwIG9..."
}
]
}
{
"messageId": "JpITLjVBS3iknTzDq1BKPg"
}