smtp-advanced

Advanced SMTP node for n8n with reply-to, forward and custom headers support

Package Information

Released: 9 mo ago
Downloads: 23 weekly / 117 monthly
Latest Version: 1.0.3
Author: Till Wad

Documentation

n8n-nodes-smtp-advanced

Advanced SMTP node for n8n with support for:

  • Reply-To headers: Send emails with custom Reply-To addresses
  • Custom headers: Add any custom email headers
  • Forward emails: Forward existing emails to other recipients
  • Standard email sending: Send regular emails with attachments

Installation

Community Nodes (Recommended)

  1. Go to Settings > Community Nodes in n8n
  2. Select Install
  3. Enter n8n-nodes-smtp-advanced
  4. Agree to the risks and install

Manual Installation

npm install n8n-nodes-smtp-advanced

Configuration

Add SMTP credentials in n8n:

  • Host: Your SMTP server hostname
  • Port: SMTP port (usually 587 or 465)
  • SSL/TLS: Enable if required
  • Username: SMTP username
  • Password: SMTP password

Operations

Send Email

Send a regular email with optional attachments and custom headers.

Parameters:

  • From Email
  • To Email(s)
  • Subject
  • Text/HTML content
  • Attachments (optional)
  • Custom Headers (optional)
  • Reply-To (optional)

Reply To Email

Reply to an existing email with proper threading headers.

Parameters:

  • Original Message ID
  • Original References
  • From Email
  • To Email(s)
  • Subject
  • Text/HTML content
  • Reply-To (optional)
  • Custom Headers (optional)

Forward Email

Forward an email to other recipients.

Parameters:

  • From Email
  • To Email(s)
  • Original Subject
  • Original Content
  • Forward Comment (optional)
  • Attachments from original (optional)

Example Usage

Simple Email with Reply-To

{
  "operation": "send",
  "fromEmail": "sender@example.com",
  "toEmail": "recipient@example.com",
  "subject": "Test Email",
  "text": "Hello World",
  "replyTo": "support@example.com"
}

Reply with Custom Headers

{
  "operation": "reply",
  "messageId": "<original-msg-id@example.com>",
  "references": "<ref1@example.com> <ref2@example.com>",
  "fromEmail": "support@example.com",
  "toEmail": "customer@example.com",
  "subject": "Re: Your inquiry",
  "html": "<p>Thank you for contacting us...</p>"
}

License

MIT

Discussion