Actions2
- Email Actions
Email → Send
AI-generatedSummary
Send an email through an SMTP server for each input item, with optional text or HTML content, recipients, attachments, and reply-to settings. The operation returns the SMTP send result for each item.
Inputs
- SMTP Host (required) — SMTP server hostname.
- SMTP Port (required) — SMTP server port; defaults to 465.
- Use SSL/TLS — Whether to use SSL/TLS; defaults to enabled.
- SMTP User and SMTP Password — Credentials for SMTP authentication; defaults to empty.
- From Email (required) — Sender email address; may include a display name.
- To Email (required) — Recipient email address; may include a display name.
- Subject — Email subject.
- Email Format — Choose Text, HTML, or Both. Text is the default in node version 2; earlier versions default to HTML.
- Text and HTML — Message bodies shown according to the selected format: Text for Text or Both, HTML for HTML or Both.
- Options — Optional settings include appending n8n attribution (enabled by default in the UI), comma-separated names of input binary properties to attach, CC and BCC recipients, allowing connections with invalid SSL certificates, and a Reply To address. Attachments can also be referenced from the email body using their content ID.
Output shape
A list of output items, one per processed input item, each containing the SMTP send result in json.
With Continue On Fail enabled, a failed send produces an item with an error message instead. Otherwise, send errors are thrown.