Connect n8n to your emails — AI automation

Why connect n8n to your emails?

n8n is the go-to platform for building powerful automations without writing code. But when it comes to email, the built-in IMAP node only covers basic retrieval. If you want an AI agent that can read, reply, search and organize emails intelligently, you need something more capable.

MailMCP gives your n8n AI Agent full email superpowers: list unread messages, read full threads, search by sender or subject, draft and send replies, schedule emails, manage folders and flag important conversations. Combined with an AI model like Claude or GPT-4, you can build workflows that triage your inbox, auto-respond to common requests or trigger actions based on email content.

MailMCP integrates with n8n via the MCP Client Tool node. Point it to your MailMCP server URL, add your credentials, and connect it to an AI Agent node. Your automation is ready in minutes, with 15 email tools available to the AI.

Connect n8n to MailMCP

n8n supports MCP via the MCP Client Tool node.

1

Add an MCP Client Tool node

Category AI > Tools > MCP Client Tool.

2

Configure the connection

SSE URL

https://mailmcp.io/mcp/VOTRE_CLIENT_ID

Authentication

Header Auth · Authorization : Bearer VOTRE_CLIENT_SECRET

3

Connect to an AI Agent

Connect the MCP Client Tool to an AI Agent node (Claude, GPT-4, etc.).

Trigger AI Agent MCP Tool (MailMCP) Respond

Why use MailMCP with n8n?

AI-powered email workflows

Let an AI Agent read, triage and respond to emails based on your custom rules.

15 MCP tools available

Read, send, search, schedule, organize folders — the full email toolkit for your AI Agent.

Combine with any trigger

Webhook, schedule, form submission — trigger email actions from any n8n event.

Works with Claude, GPT-4 and more

Connect the MCP Client Tool to any LLM supported by n8n for intelligent email handling.

Self-hosted or cloud

MailMCP works with both self-hosted n8n and n8n Cloud instances.

MailMCP is free with 1 mailbox and 20 calls per day. Pro plans from 1.99 EUR/month include unlimited mailboxes and 500 calls/day.

Frequently asked questions

How to connect n8n to email via MCP?

In n8n, add an MCP Client Tool node to your AI Agent workflow. Configure it with your MailMCP SSE endpoint URL and API key from your dashboard. The AI Agent will then have access to 15 email tools including reading, sending, searching and organizing messages through the MCP protocol.

Can n8n automate email sending with AI?

Absolutely. By combining an n8n AI Agent with MailMCP, you can build workflows that read incoming emails, analyze their content with an LLM, and send intelligent replies automatically. Use triggers like webhooks or schedules to run these email automations on your own terms.

What is the MCP Client Tool in n8n?

The MCP Client Tool is an n8n node that connects AI Agents to any MCP-compatible server. When you connect it to MailMCP, the AI Agent gains access to all email tools defined by the MCP protocol. It acts as a bridge between the LLM reasoning and external email actions like read, send and search.

Prêt à connecter vos emails à l'IA ?

Créez votre compte en 30 secondes et récupérez vos identifiants MCP.

Démarrer gratuitement

MailMCP Assistant

Powered by DeepSeek

{{ msg.content }}
{{ msg.content }}