InboboDocsMenu

Channels

Email

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.

to
{
  "email": "amina@example.com",
  "name": "Amina Juma",
  "cc": ["boss@example.com"],
  "bcc": ["archive@example.com"]
}

Message

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>"
}
FieldTypeDescription
typerequiredstringMust be email.
subjectstringThe subject line. It is also kept on the conversation so replies thread under it.
textrequiredstringThe plain-text body, up to 4,096 characters. Markdown is supported.
htmlstringAn 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.