Send Mail

The Send Mail node allows you to send emails through SMTP servers or email service providers.

Overview

This node provides functionality to:

  • Send HTML and plain text emails
  • Add attachments
  • Use templates
  • Support CC and BCC
  • Track email delivery

Configuration

ParameterTypeDescription
ToArray[String]Recipient email addresses
SubjectStringEmail subject line
BodyStringEmail content (HTML/Text)
FromStringSender email address
CCArray[String]CC recipients (optional)
BCCArray[String]BCC recipients (optional)
AttachmentsArray[Object]File attachments (optional)

Output

The node provides:

  • Delivery status
  • Message ID
  • Timestamp
  • Error messages if sending fails
  • Delivery receipts (if supported)

Example Usage

{
  "to": ["[email protected]"],
  "subject": "Test Email",
  "body": "<h1>Hello</h1><p>This is a test email.</p>",
  "from": "[email protected]",
  "cc": ["[email protected]"],
  "bcc": [],
  "attachments": [
    {
      "filename": "document.pdf",
      "path": "./files/document.pdf"
    }
  ]
}