send_email_with_template
Send transactional email by rendering a stored template with variables, with optional overrides for subject and other fields.
Instructions
Render a stored CamelMailer template (Mustache-style {{ variables }}) against template_model and send it. Fields set directly (e.g. subject) override the rendered ones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients | |
| to | Yes | Recipient email addresses | |
| bcc | No | BCC recipients | |
| tag | No | Free-form tag for filtering and stats | |
| from | Yes | Sender address — must belong to a verified sending domain of the server | |
| stream | No | Message-stream permalink; defaults to the server's default stream | |
| subject | No | Override the rendered subject | |
| reply_to | No | Reply-To addresses | |
| template | Yes | Permalink of the stored template to render | |
| template_model | No | Variables for the template placeholders |