What it is for
The SMTP component sends email through any compatible mail server, such as your domain's server, Microsoft 365, Gmail or a transactional provider. Use it for notifications, confirmations and sending documents generated in the flow.
This component has no triggers: it is used as an action inside flows started by other triggers.
Set up the connection
Authentication type: Custom credentials
- 1Get the SMTP details from your mail provider: server, port and whether TLS is required.
- 2In flooows click "Connect" and fill in Host (for example smtp.yourdomain.com) and Port (usually 587 or 465).
- 3Enable Require TLS if your server needs it (common on port 465).
- 4In Email enter the sending account and in Password its password or, with two-factor enabled, an app password.
- 5Save the connection.
| Connection field | Type | Required |
|---|---|---|
| Host | Text | Yes |
| Port | Fixed list | Yes |
| Require TLS | Yes / No | Yes |
| Text | No | |
| Password | Secret key | No |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Send Email: fill in From Email (must be allowed by the server), To, Subject and Body.
- Pick Body Type: plain text or HTML for formatted messages.
- Add Cc, Bcc and Reply To if replies should go elsewhere; Sender Name sets the display name.
- In Attachments map files from earlier steps, such as a generated PDF.
Tips
- •With Gmail or Microsoft 365 and two-step verification, use an app password.
- •Set up SPF, DKIM and DMARC on your domain to keep mail out of spam.
- •For bulk sending, use a transactional provider and add a Delay between sends.
Actions (1)
Operations available as flow steps. Expand each one to see its fields.
Send Email11 fields
| Field | Type | Required |
|---|---|---|
| From Email | Text | Yes |
| To | List of values | Yes |
| Cc | List of values | No |
| Bcc | List of values | No |
| Reply To | Text | No |
| Subject | Text | Yes |
| Body Type | Fixed list | Yes |
| Body | Long text | Yes |
| Attachments | List of values | No |
| Sender Name | Text | No |
| Custom Headers | Key / value pairs | No |
Common errors
Authentication error (535)
Check username and password; use an app password if two-factor is on.
Connection timed out
Check Host, Port and the Require TLS option.
Sender rejected
From Email must match the account or an authorized alias.
Emails land in spam
Set up SPF and DKIM on the sender's domain.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps