Send an email
qmailing_send_emailSend email from any configured mailbox to one or more recipients, with optional attachments provided as base64 strings.
Instructions
Send an email through one of the user's mailboxes. Counts against the per-plan daily send limit. Attachments are accepted as base64 strings and re-packed into multipart on the way to the API — the agent stays in JSON, the API stays in multipart, nobody has to learn the multipart wire format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailboxId | Yes | UUID of the mailbox to send from. | |
| to | Yes | List of recipient email addresses (To header). | |
| cc | No | ||
| bcc | No | ||
| subject | No | ||
| bodyHtml | No | HTML body. At least one of bodyHtml / bodyText is recommended. | |
| bodyText | No | Plain-text body. Often added as a fallback for receivers without HTML. | |
| replyToId | No | UUID of the email this is a reply to (threads in the recipient client). | |
| attachments | No | Optional list of attachments. Each one carries a filename, a content-type, and base64-encoded bytes. |