send_email
Send email messages with HTML or plain text body, reply to threads, attach files via upload IDs, and auto-resolve domain from inbox ID.
Instructions
Send an email message.
Provide html or text (or both) for the body. To reply in an existing thread, pass thread_id. To attach files, first call upload_attachment, then pass the attachment IDs as a comma-separated string.
You only need inbox_id to send — the domain is inferred automatically.
Args: to: Recipient email address (for multiple, comma-separate) subject: Email subject line html: HTML body content text: Plain text body (fallback) from_address: Sender address (optional, uses inbox default) reply_to: Reply-to address (optional) thread_id: Reply within an existing thread (optional) inbox_id: Send from a specific inbox (recommended — domain is auto-resolved) domain_id: Send from a specific domain (optional, inferred from inbox_id) attachments: Comma-separated attachment IDs from upload_attachment (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| html | No | ||
| text | No | ||
| subject | Yes | ||
| inbox_id | No | ||
| reply_to | No | ||
| domain_id | No | ||
| thread_id | No | ||
| attachments | No | ||
| from_address | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |