Channels
Send transactional email with subject, cc, bcc and HTML. Delivered through MailAfrica.
Recipient
Use to.email. Add cc and bcc as arrays, and an optional display name for the contact. Every address is validated.
{
"email": "amina@example.com",
"name": "Amina Juma",
"cc": ["boss@example.com"],
"bcc": ["archive@example.com"]
}Message
{
"type": "email",
"subject": "Order 1042",
"text": "Hi Amina,\n\nYour order has shipped.",
"html": "<p>Hi Amina,</p><p>Your order has shipped.</p>"
}| Field | Type | Description |
|---|---|---|
typerequired | string | Must be email. |
subject | string | The subject line. It is also kept on the conversation so replies thread under it. |
textrequired | string | The plain-text body, up to 4,096 characters. Markdown is supported. |
html | string | An optional HTML body. When present it is sent as the HTML part instead of the rendered Markdown. |
Delivery status
Email reports sent or failed. Delivered and read receipts are not available for email, so do not wait for them. Replies from the recipient arrive as email.message.received callbacks, with the subject in message.subject.