volanea_send_test_email
Render and send a test message — either a saved template (templateId + sample variables) or ad-hoc subject/html. ALWAYS forced into test mode: the message renders, logs, and is fully inspectable via volanea_check_delivery, but is never delivered to a real inbox, even when authenticated with a live key. Use it to verify content renders correctly, then read it back with volanea_check_delivery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address for the test. Use the address from volanea_get_project_status `testInbox` — do NOT invent one like test@theirdomain.com. Invented addresses are real domains with no such mailbox; they hard-bounce and damage sender reputation the moment anything sends to them for real. | |
| from | No | Sender address. Defaults to the template's, or the project's verified domain. | |
| html | No | Ad-hoc HTML body. Required unless templateId is given. | |
| subject | No | Ad-hoc subject. Required unless templateId is given. | |
| variables | No | Sample values for {{variable}} placeholders. | |
| templateId | No | Send a saved template. Omit if providing subject/html. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Machine-readable failure code to branch on. Present only when success is false. | |
| data | No | Present when success is true. | |
| error | No | Human-readable failure reason. Present only when success is false. | |
| success | Yes | False when the call failed; read `error` and `code` in that case. |