send_email
Send transactional emails through the SendByte platform with support for HTML, plain text, templates, scheduling, and tags. Requires a verified sender domain and recipient addresses.
Instructions
Send a transactional email through SendByte. The sender domain must be a verified sending domain (or use the shared test domain with a test key). Provide html and/or text, or a template_id with variables. A test key (sk_test_) sandboxes the send.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Sender, e.g. "PayLink <receipts@paylink.ng>". Domain must be verified. | |
| to | Yes | Recipient address or array of addresses. | |
| subject | Yes | Email subject line. | |
| html | No | HTML body. Provide html and/or text, or use template_id. | |
| text | No | Plain-text body. Recommended alongside html. | |
| cc | No | ||
| bcc | No | ||
| reply_to | No | Reply-To address or addresses. | |
| tags | No | Free-form tags for filtering and analytics. | |
| template_id | No | Send a saved template instead of inline html/text. | |
| variables | No | Handlebars variables to render into the template. | |
| scheduled_at | No | ISO 8601 timestamp to send later. |