Skip to content

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

  1. 1Get the SMTP details from your mail provider: server, port and whether TLS is required.
  2. 2In flooows click "Connect" and fill in Host (for example smtp.yourdomain.com) and Port (usually 587 or 465).
  3. 3Enable Require TLS if your server needs it (common on port 465).
  4. 4In Email enter the sending account and in Password its password or, with two-factor enabled, an app password.
  5. 5Save the connection.
Connection fieldTypeRequired
HostTextYes
PortFixed listYes
Require TLSYes / NoYes
EmailTextNo
PasswordSecret keyNo

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
FieldTypeRequired
From EmailTextYes
ToList of valuesYes
CcList of valuesNo
BccList of valuesNo
Reply ToTextNo
SubjectTextYes
Body TypeFixed listYes
BodyLong textYes
AttachmentsList of valuesNo
Sender NameTextNo
Custom HeadersKey / value pairsNo

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