Mailboxes
Send email
Sends an email from the mailbox. Supports two modes: template mode (provide template + variables) or raw HTML mode (provide subject + html). The from_name field optionally sets a display name on the From header. Same-domain sends are normal accounted outbound sends through the provider path; Run402 does not short-circuit loopback delivery. Raw mode accepts subject plus text without html; when text is supplied, it is the first text/plain body part and footer policy appends only. Attachments are decoded once from content_base64 before transport MIME encoding.
post/mailboxes/v1/{mailbox_id}/messages
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/mailboxes/v1/{mailbox_id}/messages
- Auth: HTTP bearer
Path parameters
mailbox_idstring uuid required
Mailbox ID
Request body
Response
Message sent
Example response
{
"message_id": "msg_1780076428285_dlnfqq",
"status": "sent"
}Changes
No recorded changes to this operation across all 1 revision of this API.