Skip to main content

SMTP Node

What it does

Sends email messages through an SMTP server using configured SMTP credentials.

Inputs/config

  • SMTP credential reference.
  • From/to/cc/bcc addresses.
  • Subject, text/html body, optional attachments.

Outputs/branches

  • Uses matched_output.
  • success when message is accepted by SMTP server.
  • error on auth, connectivity, or send failure.

Example usage snippet

{
"id": "n_smtp",
"type": "smtp_node",
"config": {
"to": ["[email protected]"],
"subject": "Gateway alert",
"text": "A workflow error occurred."
}
}

Common pitfalls

  • Missing valid sender domain and failing SPF/DMARC checks.
  • Sending high-volume notification bursts without throttling.
  • Not handling partial recipient failures in error flow.