mcp-mail
by shuakami·★ 48·Score 42
MCP-based email management tool enabling AI to handle various email operations including sending, receiving, and organizing emails.
Overview
The MCP Mail Tool is a comprehensive email management solution built on the Model Context Protocol that allows AI models to interact with email services through standardized APIs. It provides a wide range of functionality including email sending (text, HTML, with attachments), inbox management, advanced search capabilities, attachment handling, and contact management. The tool acts as a bridge between AI systems and email servers, using nodemailer for SMTP operations and node-imap for IMAP operations, ensuring secure local processing of sensitive email data.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server when you need AI-powered email management capabilities with support for both reading and composing emails, especially if you're already using an AI assistant that supports the MCP protocol.
When NOT to choose this
Don't choose this if you need advanced calendar integration or task management features beyond email, or if you're using a non-MCP compatible AI assistant without the ability to add custom servers.
Tools this server exposes
12 tools extracted from the READMEsend_emailSend an email with support for text, HTML, and attachments
list_foldersGet a list of email folders in the mailbox
list_emailsList emails in a specific folder with filtering options
get_email_detailsGet detailed information about a specific email
search_emailsAdvanced search for emails using multiple criteria
mark_email_readMark an email as read
delete_emailDelete a specific email
move_emailMove an email to a different folder
list_attachmentsList attachments in a specific email
download_attachmentDownload an attachment from a specific email
list_contactsGet a list of contacts extracted from emails
search_contactsSearch for contacts by name or email
Comparable tools
Installation
Installation
Via Smithery
npx -y @smithery/cli install @shuakami/mcp-mail --client claudeManual Installation
- Clone and install:
git clone https://github.com/shuakami/mcp-mail.git
cd mcp-mail
npm install
npm run build- Add to Claude Desktop MCP configuration (
~/.cursor/mcp.json):
{
"mcpServers": {
"mail-mcp": {
"command": "pythonw",
"args": [
"/Users/你的用户名/mcp-mail/bridging_mail_mcp.py"
],
"env": {
"SMTP_HOST": "smtp.qq.com",
"SMTP_PORT": "465",
"SMTP_SECURE": "true",
"SMTP_USER": "your.email@qq.com",
"SMTP_PASS": "your-app-specific-password",
"IMAP_HOST": "imap.qq.com",
"IMAP_PORT": "993",
"IMAP_SECURE": "true",
"IMAP_USER": "your.email@qq.com",
"IMAP_PASS": "your-app-specific-password",
"DEFAULT_FROM_NAME": "Your Name",
"DEFAULT_FROM_EMAIL": "your.email@qq.com"
}
}
}
}FAQ
- What email services are supported?
- The tool supports any email service that uses standard SMTP and IMAP protocols, including QQ Mail, Gmail, Outlook, and others.
- Is my email data secure?
- Yes, all email operations are processed locally without forwarding sensitive information through third-party servers.
Compare mcp-mail with
Last updated · Auto-generated from public README + GitHub signals.