API Docs / Schemas / SendMailboxEmailRequest

SendMailboxEmailRequest

Request DTO for sending a new email from a tenant's connected mailbox.

Properties

Name Type Description
subject*string

Email subject line

Email subject line

htmlBodystring

HTML body of the email

HTML body of the email

plainTextBodystring

Plain text body of the email (used as fallback when HTML is not supported)

Plain text body of the email (used as fallback when HTML is not supported)

to*array of EmailRecipientDto

List of To recipients (at least one required)

List of To recipients (at least one required)

ccarray of EmailRecipientDto

List of CC recipients (optional)

List of CC recipients (optional)

bccarray of EmailRecipientDto

List of BCC recipients (optional)

List of BCC recipients (optional)

attachmentsarray of EmailAttachmentDto

List of attachments as base64-encoded content (optional)

List of attachments as base64-encoded content (optional)

JSON Example

{
  "subject": "string",
  "htmlBody": "string",
  "plainTextBody": "string",
  "to": [
    {
      "email": "...",
      "name": "..."
    }
  ],
  "cc": [
    {
      "email": "...",
      "name": "..."
    }
  ]
}

Used By Operations