Back to MCP Servers
🧩

Email (IMAP/SMTP) MCP Server

API key required

Email IMAP/SMTP MCP server: iCloud, Gmail, Yahoo, Outlook, and custom IMAP providers

To add Email (IMAP/SMTP) to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 11 environment variables, listed below.

AICloudDevTools

Install

npx -y @mindstone/mcp-server-email-imap@0.3.2

Environment variables

EMAIL_IMAP_EMAILSet in your MCP config
EMAIL_IMAP_PASSWORDSet in your MCP config
EMAIL_IMAP_PROVIDERSet in your MCP config
EMAIL_IMAP_IMAP_HOSTSet in your MCP config
EMAIL_IMAP_SMTP_HOSTSet in your MCP config
EMAIL_IMAP_IMAP_PORTSet in your MCP config
EMAIL_IMAP_SMTP_PORTSet in your MCP config
EMAIL_IMAP_MAX_RECIPIENTSSet in your MCP config
EMAIL_IMAP_RATE_LIMIT_PER_HOURSet in your MCP config
EMAIL_IMAP_RATE_LIMIT_WINDOW_MSSet in your MCP config
MCP_WORKSPACE_PATHSet in your MCP config

Install with your client

Terminal
claude mcp add email-imap-smtp --env EMAIL_IMAP_EMAIL=<YOUR_EMAIL_IMAP_EMAIL> --env EMAIL_IMAP_PASSWORD=<YOUR_EMAIL_IMAP_PASSWORD> --env EMAIL_IMAP_PROVIDER=<YOUR_EMAIL_IMAP_PROVIDER> --env EMAIL_IMAP_IMAP_HOST=<YOUR_EMAIL_IMAP_IMAP_HOST> --env EMAIL_IMAP_SMTP_HOST=<YOUR_EMAIL_IMAP_SMTP_HOST> --env EMAIL_IMAP_IMAP_PORT=<YOUR_EMAIL_IMAP_IMAP_PORT> --env EMAIL_IMAP_SMTP_PORT=<YOUR_EMAIL_IMAP_SMTP_PORT> --env EMAIL_IMAP_MAX_RECIPIENTS=<YOUR_EMAIL_IMAP_MAX_RECIPIENTS> --env EMAIL_IMAP_RATE_LIMIT_PER_HOUR=<YOUR_EMAIL_IMAP_RATE_LIMIT_PER_HOUR> --env EMAIL_IMAP_RATE_LIMIT_WINDOW_MS=<YOUR_EMAIL_IMAP_RATE_LIMIT_WINDOW_MS> --env MCP_WORKSPACE_PATH=<YOUR_MCP_WORKSPACE_PATH> -- npx -y @mindstone/mcp-server-email-imap@0.3.2

Run this in a terminal to add the server to Claude Code.

What this does

Email (IMAP/SMTP) exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

EMAIL_IMAP_EMAIL
EMAIL_IMAP_PASSWORD
EMAIL_IMAP_PROVIDER
EMAIL_IMAP_IMAP_HOST
EMAIL_IMAP_SMTP_HOST
EMAIL_IMAP_IMAP_PORT
EMAIL_IMAP_SMTP_PORT
EMAIL_IMAP_MAX_RECIPIENTS
EMAIL_IMAP_RATE_LIMIT_PER_HOUR
EMAIL_IMAP_RATE_LIMIT_WINDOW_MS
MCP_WORKSPACE_PATH

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install Email (IMAP/SMTP)?

Run the Claude Code command in the install section to add Email (IMAP/SMTP) to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with Email (IMAP/SMTP)?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to Email (IMAP/SMTP) as well.

Does Email (IMAP/SMTP) need an API key?

Yes. Before it can run, set these environment variables: EMAIL_IMAP_EMAIL, EMAIL_IMAP_PASSWORD, EMAIL_IMAP_PROVIDER, EMAIL_IMAP_IMAP_HOST, EMAIL_IMAP_SMTP_HOST, EMAIL_IMAP_IMAP_PORT, EMAIL_IMAP_SMTP_PORT, EMAIL_IMAP_MAX_RECIPIENTS, EMAIL_IMAP_RATE_LIMIT_PER_HOUR, EMAIL_IMAP_RATE_LIMIT_WINDOW_MS, MCP_WORKSPACE_PATH. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-mindstone-mcp-server-email-imap)](https://clauderules.net/mcp/io-github-mindstone-mcp-server-email-imap)
HTML
<a href="https://clauderules.net/mcp/io-github-mindstone-mcp-server-email-imap" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-mindstone-mcp-server-email-imap" alt="Listed on clauderules.net" /></a>