Actions3
Emails → Send a templated email
AI-generatedSummary
Send a templated email through Maileroo’s POST /emails/template endpoint for each input item, using the selected template and recipient details. Optional fields can supply template variables and other email settings; request body, headers, query filters, batching, timeout, and debug output can also be configured.
Inputs
- From (required) — JSON sender details.
- To (required) — JSON recipient details.
- Subject (required) — Email subject.
- Template Id (required) — Numeric ID of the template in the Maileroo dashboard.
- Additional Fields — Optional CC, BCC, reply-to, template data for substitution, tracking, tags, headers, attachments, scheduled send time, and reference ID.
- Return All — When enabled, uses the configured pagination settings to make repeated requests and collect results; when disabled, sends one request.
- Options — Can add a custom JSON body (merged with the fields above, with custom values taking precedence), custom HTTP headers, query-string filters, batching pauses, debug request details, pagination settings, and request timeout.
Output shape
One or more n8n items containing the API response, with array responses mapped to one item per element.
A request is made for each input item. With debug enabled and Return All disabled, an additional output item contains request details under
debug. If Continue On Fail is enabled, failures produce an item with anerrorfield. Despite the Return All and Pagination controls, this operation sends a templated email; the source does not establish that the endpoint supports pagination.
Examples
Example 1: Send a templated email with substitutions
Set From, To, Subject, and Template Id; provide the template variables in Additional Fields → Template Data.