send_email
Send transactional emails (OTPs, receipts, notifications) using HTML or templates. Requires a verified sender domain.
Instructions
Send a transactional email through Quolle. Use for OTPs, receipts, notifications, verifications. Provide either html (with subject) or a template slug with variables. The from domain must be verified in the account (see list_domains).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address, or up to 50 addresses. | |
| from | Yes | Sender address, e.g. "Acme <hello@mail.acme.com>". Domain must be verified. | |
| html | No | HTML body (mutually exclusive with template). | |
| text | No | Optional plain-text body (auto-generated from html if omitted). | |
| replyTo | No | Reply-To address. | |
| subject | No | Subject line (required when sending html). | |
| template | No | Slug of a saved template (mutually exclusive with html). | |
| variables | No | Template variable substitutions. | |
| scheduledAt | No | ISO 8601 time to send in the future (schedules the email). | |
| idempotencyKey | No | Idempotency key — safe retries never send twice. |