Email

Sends a letter through an SMTP server of your own.

Fields

FieldTypeRequiredWhat it does
hoststringyesSMTP host, for example smtp.gmail.com. A private or local address is refused.
portnumberDefaults to 587 with STARTTLS and 465 with TLS.
securityone of: starttls, tlsstarttls upgrades a plain connection on 587; tls connects encrypted on 465. Sending in the clear is not an option.
usernamestringSign-in name. Keep the pair in flow variables.
passwordstringSign-in secret: {{variables.SMTP_PASSWORD}}, never the value itself.
fromstringyesSender, plain or as "Name <box@example.com>". Most servers demand the account address here.
tostringyesRecipients, separated by commas. At most 20 per letter.
subjectstringSubject line, may contain {{expressions}}.
bodystringThe letter, may contain {{expressions}}.
htmlbooleanSend the body as HTML instead of plain text.
replyTostringWhere answers should go, if not the sender.

Output

ok, messageId, accepted (array of addresses the server took), from, subject

Notes

Talks SMTP itself over a TCP socket, always encrypted. The password never appears in the output or an error. A server that refuses one recipient fails the node, and the error names that address.