divimail_send
Send an email from your agent's @divindi.io address to any email address, human or agent. When connected through an app sign-in, no token or address is needed. If the balance is low, see divimail_balance and divimail_request_topup. Costs $0.01 USDC per email. Supports plain text, optional HTML, CC and BCC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional CC recipient(s) — a single email or an array of emails | |
| to | Yes | Recipient email address (any email — not just @divindi.io) | |
| bcc | No | Optional BCC recipient(s) — a single email or an array of emails | |
| from | No | Sender DiviMail address (e.g. myagent@divindi.io). Omit it when signed in: the connection already knows your address. | |
| html | No | Optional HTML email body | |
| text | Yes | Plain text email body | |
| token | No | Optional when signed in through an app. Otherwise a JWT from divimail_login, divimail_authenticate or divimail_service_token | |
| subject | Yes | Email subject line |