Skip to content

Email

The email node sends one transactional HTML email for each input message.

PropertyPurpose
NameFlow label.
RecipientDefault destination address.
SubjectDefault subject line.
MessageDefault HTML body.

All three values must be present at runtime.

Values in msg.payload take priority:

{
"to": "user@example.com",
"subject": "Your report is ready",
"html": "<p>The report has been generated.</p>"
}

This lets one node serve dynamic recipients and content.

On success, the original message passes downstream unchanged. On failure, the node calls done(err) so a Catch node can handle the error.

  • Validate recipient addresses and permissions.
  • Escape or sanitize untrusted values before inserting them into HTML.
  • Avoid including secrets or unnecessary personal data.
  • Add rate and duplicate-send controls for automated or agent-triggered flows.