SMTP Sink Node
Quick Reference
Host
SMTP server hostname.
ex: smtp.example.com
Port
SMTP server port.
ex: 587
Use Credentials Username/password credential for SMTP authentication.
From Address
The sender email address.
ex: alerts@example.com
To (template)
Template expression for the recipient address(es). Supports {{$.field}} placeholders.
ex: {{$.recipient_email}}
CC (template)
Template expression for CC recipients. Supports {{$.field}} placeholders.
Subject (template)
Template for the email subject line. Supports {{$.field}} placeholders.
ex: Alert: {{$.severity}} from {{$.host}}
Body (template)
Template for the email body. Supports {{$.field}} placeholders.
Body Content Type
MIME type for the body.
ex: text/plain
Use TLS Enable STARTTLS for the connection.
Overview
The SMTP Sink node sends an email via SMTP for each pipeline record, using template expressions to build the recipients, subject, and body from record fields. It is well suited for alert delivery, notification workflows, and any use case where pipeline data needs to be communicated by email.
Configuration
| Field | Description | Required | Default |
|---|---|---|---|
| Host | SMTP server hostname used to send outgoing email. | Yes | — |
| Port | SMTP server port number. | No | 587 |
| Use Credentials | Select or create a username/password credential for SMTP authentication. | Yes | — |
| From Address | The email address that appears in the From header of each sent message. | Yes | — |
| To (template) | Template expression for the recipient address(es). Use {{$.field}} placeholders to reference record data. Multiple addresses can be comma-separated. | Yes | — |
| CC (template) | Template expression for CC recipients. Use {{$.field}} placeholders to reference record data. | No | — |
| Subject (template) | Template for the email subject line. Use {{$.field}} placeholders to embed record field values. | Yes | — |
| Body (template) | Template for the email body content. Use {{$.field}} placeholders to embed record field values. | Yes | — |
| Body Content Type | MIME type of the email body. Use text/plain for plain text or text/html for HTML-formatted emails. | No | text/plain |
| Use TLS | Enable STARTTLS to upgrade the connection to an encrypted channel after the initial handshake. | No | true |
Related Nodes
- IMAP Source: Poll an IMAP email mailbox and emit each email as an record
- SQS Sink: Send processed records to an Amazon SQS queue