preview_email
Validate and render an email without sending it. Obtain a single-use confirm token to securely authorize the actual delivery.
Instructions
Validate and render an email WITHOUT sending it. Returns the exact payload that would go to SendGrid plus a single-use confirm_token (valid 10 minutes). Sending requires passing that token to send_email — there is no direct-send path. BCC is not accepted by design.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| subject | No | ||
| reply_to | No | ||
| body_html | No | ||
| body_text | No | ||
| from_name | No | ||
| from_email | Yes | ||
| template_id | No | ||
| template_data | No |