Email for n8n: Give Your Agent a Mailbox (MCP or HTTP)
To give an n8n agent its own email, you have two no-code paths: add the built-in MCP Client Tool node pointed at https://mail.sairaph.com/mcp/v1/mcp with Bearer auth and wire it into an AI Agent node, or call the REST API directly from an HTTP Request node. Either way the mailbox is real and two-way - it sends and reads inbound over one scoped key, with no SMTP credentials, no IMAP setup, and no domain to configure.
Last updated June 30, 2026
This guide covers both paths in three steps.
Step 1 - Provision a mailbox and a scoped key
Create the mailbox in the dashboard and issue a per-mailbox key - read_write to send and read, read to only fetch codes/confirmations. Store the sm_live_… secret in an n8n credential so it's never pasted into a node:
Step 2a - MCP path: the MCP Client Tool node (for AI Agent flows)
If your flow uses n8n's AI Agent node, attach the mailbox as a tool:
- Add the MCP Client Tool node (built into n8n's LangChain nodes) and connect its output to your AI Agent node's tool input.
- Set the endpoint to
https://mail.sairaph.com/mcp/v1/mcpand the server transport to HTTP Streamable. - Set Authentication to Bearer and select the credential holding your
sm_live_…key. - (Optional) Use Tools to Exclude to hide any actions you don't want the agent to call.
The agent now sees the mailbox's send and read actions as tools and chooses them on its own.
Step 2b - HTTP path: the HTTP Request node (for any flow)
For a plain automation (no AI Agent), send with an HTTP Request node. The required Idempotency-Key makes retries safe - a re-run can never double-send:
The canonical request this maps to:
Step 3 - Read inbound on a schedule or on demand
To act on replies and one-time codes, read inbound with a second HTTP Request node (or a Schedule trigger that polls). Use live=true to force an on-demand fetch when a flow is blocking on a code:
How Sairaph Mail fits n8n
n8n orchestrates the steps visually; Sairaph Mail *is* the mailbox - provisioned, two-way, EU-hosted by default, callable as an MCP tool or a plain HTTP node, with a dashboard to watch what your flow sent and received. Generic automation tools make you bring and IMAP/SMTP-configure your own mailbox; here there's nothing to configure. See the MCP docs for the tool path or the REST API docs for the HTTP path.
Next step: get started and provision a mailbox, then drop in either node. Sending notifications? See transactional notifications.
Related
Give your agent a real mailbox
Two-way email over REST and a native MCP server, EU-resident by default.
EU data residencyPer-customer encryptionNative MCP