Universal Email MCP Server
Enables AI assistants to connect to any email provider via IMAP/SMTP, supporting account management and email operations like listing, sending, and marking emails.
README
Universal Email MCP Server
Connect any email provider to your AI assistant in minutes. Zero friction, maximum security.
A secure MCP server that connects AI agents to any email provider via IMAP/SMTP protocols. Zero config required for local development, enterprise-ready for cloud deployment.
🏆 Available Tools
Account Management
- add_account - Add email account with IMAP/SMTP settings
- list_accounts - View all configured accounts
- remove_account - Remove account configuration
Email Operations
- list_messages - List emails with filtering & pagination
- get_message - Get specific email by UID
- send_message - Send emails with attachments
- mark_message - Mark read/unread
- list_mailboxes - Show available folders/mailboxes
⚡ Quick Start (Choose Your Path)
1. Claude Desktop (30 seconds) 🎯
Windows CMD setup that actually works:
{
"mcpServers": {
"universal-email": {
"command": "cmd",
"args": ["/c", "cd", "/d", "C:\\path\\to\\universal-email-mcp-server", "&&", "poetry", "run", "python", "-m", "universal_email_mcp.stdio_main"],
"cwd": "C:\\path\\to\\universal-email-mcp-server"
}
}
}
2. One-Command Setup ⚡
# Works on Windows, Mac, Linux
poetry run universal-email-cli deploy claude-desktop
3. Docker (Cloud ready)
# Creates config automatically
docker run -v ~/.claude-email-mcp:/data -p 8000:8000 universal-email-mcp:latest
📦 Installation
git clone <repo-url>
cd universal-email-mcp-server
poetry install
poetry run universal-email-cli deploy claude-desktop # Done!
🖥️ Client Configurations
Claude Desktop (Recommended)
Windows CMD with proper path handling:
{
"mcpServers": {
"universal-email": {
"command": "cmd",
"args": ["/c", "cd", "/d", "C:\\path\\to\\universal-email-mcp-server", "&&", "poetry", "run", "python", "-m", "universal_email_mcp.stdio_main"],
"cwd": "C:\\path\\to\\universal-email-mcp-server"
}
}
}
macOS/Linux:
{
"mcpServers": {
"universal-email": {
"command": "poetry",
"args": ["run", "python", "-m", "universal_email_mcp.stdio_main"],
"cwd": "/path/to/universal-email-mcp-server"
}
}
}
Cursor IDE
Same as Claude Desktop - supports both stdio and HTTP transports.
Cloud Deployment
Use HTTP with Bearer tokens - see DEPLOYMENT.md
📧 Email Prompt Examples
Setup:
"Add my Gmail account named 'personal'"
"List all my accounts"
Email Management:
"Show me latest 10 unread emails from personal"
"Send email to john@company.com with subject 'Meeting tomorrow'"
"Mark message 12345 as read"
🎈 That's it! Run poetry run universal-email-cli deploy claude-desktop and you're connected.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.