Connect emailr_ to n8n
Install the n8n-nodes-emailr community node to send email from n8n workflows and trigger workflows when email arrives in an emailr_ inbox.
The n8n-nodes-emailr community package adds two nodes to n8n: Emailr, which sends email, and Emailr Trigger, which starts a workflow when email is received.
It works on n8n Cloud and self-hosted n8n, and pairs well with n8n's AI nodes for triaging and drafting replies to inbound mail.
Set up emailr_ with n8n
- 01
Create an API key
Create a key under API keys in the dashboard. Keys start with
et_live_and are scoped to one domain workspace. Store it asEMAILR_API_KEYin your secret manager or environment, never in client-side code. - 02
Add and verify your sending domain
In the dashboard, open Domains and add the domain you send from. A subdomain such as
mail.yourcompany.comkeeps transactional reputation separate from your corporate mailbox.Emailr generates the DNS records: a DKIM TXT record on the
emailr._domainkeyselector, an SPF TXT record, and an MX + TXT pair on thesendsubdomain used as the MAIL FROM / Return-Path. A DMARC record is optional but recommended.Emailr's DKIM selector and
sendsubdomain don't collide with other providers' records, so you can add them before cutting over and send from both providers during the migration. A domain can only have one SPF record: if one already exists, merge Emailr'sinclude:into it instead of adding a second record. - 03
Install the community node
In n8n, go to Settings → Community Nodes, choose Install, and enter
n8n-nodes-emailr.Package nametextn8n-nodes-emailr - 04
Add credentials
Create a credential of type Emailr API and paste your API key. Keep the default API URL
https://api.emailr.dev. - 05
Send email with the Emailr node
Add the Emailr node and choose Send Email. Fill in From, To and Subject, then HTML Body, Text Body or both. Reply-To, CC and BCC are optional. The node calls
POST /v1/emails/sendand outputs the API response for later steps. - 06
Start workflows with Emailr Trigger
Add the Emailr Trigger node, select the Email Received event and choose an inbox or All Inboxes. Activating the workflow registers the n8n webhook URL with emailr_; deactivating removes it.
The trigger outputs the message payload, including
from,to,subject,textandhtml, so you can route it to a ticketing tool, a CRM or an AI agent.
Tips
- Example workflow: Emailr Trigger (support inbox) → AI node classifies intent → Emailr sends an acknowledgement → Slack notifies the on-call person.
- Example workflow: Schedule Trigger → database query → Emailr sends a weekly report.
- Self-hosted n8n must be reachable from the internet for the trigger's webhook to receive events.
Frequently asked questions
How do I install the emailr_ node in n8n?
Go to Settings → Community Nodes → Install and enter n8n-nodes-emailr. Then create an Emailr API credential with your API key.
What does the Emailr Trigger node do?
It starts a workflow whenever an email is received in an emailr_ inbox. You can watch a single inbox or all inboxes.
Does it work with self-hosted n8n?
Yes, as long as your n8n instance has a public URL so emailr_ can deliver webhook events to the trigger.
Can the n8n node send templates?
The node sends emails with the subject and body you provide. To send stored templates, call the API with n8n's HTTP Request node and pass template_id and template_data.
Keep going
Related guides
- emailr_ + ZapierUse the emailr_ Zapier app to send email from any Zap and start Zaps when an email lands in an emailr_ inbox. No code required, just an API key.
- Send email from SupabaseSend transactional and auth email from Supabase Edge Functions with emailr_, including a Send Email auth hook for branded signup and magic-link emails.
- Send email from AWS LambdaSend transactional email from AWS Lambda with the emailr_ SDK, process SQS batches with partial failure reporting and handle signed webhooks.
Start sending in minutes
Create a free account, verify your domain and send your first email. No credit card required.