n8n-email-send-enhanced
v1.0.0
Published
Enhanced n8n EmailSend node with email threading support
Maintainers
Readme
Enhanced n8n EmailSend Node
An enhanced version of the n8n EmailSend node that includes email threading support through inReplyTo and references headers.
Features
- Email Threading Support: Properly handle email conversations with
inReplyToandreferencesheaders - SMTP Protocol: Full SMTP support with authentication
- Attachments: Support for email attachments
- Multiple Recipients: CC and BCC support
- Priority Settings: Set email priority (low, normal, high)
- HTML and Text: Support for both HTML and plain text emails
New Fields
In-Reply-To
- Field Name:
inReplyTo - Type: String
- Description: Message ID of the email this is a reply to
- Example:
<[email protected]> - Usage: Used by email clients to thread conversations properly
References
- Field Name:
references - Type: String
- Description: Space or comma-separated list of message IDs in the conversation thread
- Example:
<[email protected]> <[email protected]> - Usage: Maintains the complete conversation thread for email clients
SMTP Standards Compliance
These fields follow RFC 5322 standards for email threading:
- In-Reply-To: Contains the message ID of the email being replied to
- References: Contains all message IDs in the conversation thread, allowing email clients to properly group related emails
Installation
Build the project:
npm run buildCopy the built files to your n8n custom nodes directory
Restart your n8n instance
Usage
- Add the "Send Email" node to your workflow
- Configure SMTP credentials
- Fill in the basic email fields (from, to, subject, text/html)
- In "Additional Fields":
- Add
inReplyTowith the message ID you're replying to - Add
referenceswith the conversation thread message IDs
- Add
- Execute the workflow
Example
{
"inReplyTo": "<[email protected]>",
"references": "<[email protected]> <[email protected]>"
}This ensures proper email threading in email clients like Gmail, Outlook, and Thunderbird.
