Email MCP
@gaddobenedetti
关于 Email MCP
An MCP Server enabling POP3 and SMTP functionality for compatable AI Agents
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp_email": {
"command": "uv",
"args": [
"--directory",
"/Absolute/path/to/server/directory",
"run",
"main.py"
],
"env": {
"EMAIL_USER": "Email account username",
"EMAIL_PASS": "Email account password",
"POP3_SERVER": "POP3 Server Address",
"POP3_PORT": "POP3 Server Port Number",
"SMTP_SERVER": "SMTP Server Address",
"SMTP_PORT": "SMTP Server Port Number"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Email MCP?
Email MCP is a Model Context Protocol server that adds email functionality to an AI agent, supporting both POP3 (receiving) and SMTP (sending). It allows an LLM to poll, read, delete, and send emails through a configured email account.
How to use Email MCP?
Install by adding a configuration entry to the Claude Desktop developer config file, specifying the absolute path to the server directory and the required environment variables (EMAIL_USER, EMAIL_PASS, POP3_SERVER, POP3_PORT, SMTP_SERVER, SMTP_PORT). The server is run with uv run main.py. Once connected, the LLM can call the five provided tools to manage emails.
Key features of Email MCP
- pollEmails(): returns IDs and headers of all stored emails.
- getEmailsById(ids): returns message IDs and bodies for specified emails.
- deleteEmailsById(ids): deletes given emails from the inbox.
- sendTextEmail(): sends a plain text email via SMTP.
- sendHtmlEmail(): sends an HTML formatted email via SMTP.
Use cases of Email MCP
- An AI assistant checks new emails and summarizes them for the user.
- An AI agent sends automated replies or notifications in plain text.
- An AI agent forwards or responds to emails using HTML formatting.
- An AI assistant deletes spam or old emails after processing.
- An AI workflow polls a mailbox for incoming requests and acts on them.
FAQ from Email MCP
What email protocols does Email MCP support?
It supports POP3 for receiving emails and SMTP for sending emails.
How do I configure Email MCP?
You must set environment variables for the email account username, password, POP3 server address and port, and SMTP server address and port in the env section of the MCP server configuration.
What runtime dependencies are required?
The server assumes Python is installed and in your PATH, and uses uv to run the script. On Windows, backslashes in the path must be escaped.
Are there any known limitations?
Deleting emails with deleteEmailsById invalidates the current order of email IDs, so it is recommended to perform deletions at the end of a session.
How does authentication work for Email MCP?
The email account credentials are provided via the EMAIL_USER and EMAIL_PASS environment variables, and the server uses them to authenticate with the POP3 and SMTP servers.
沟通协作 分类下的更多 MCP 服务器
Telegram MCP Server
chigwellTelegram MCP server powered by Telethon to let MCP clients read chats, manage groups, and send/modify messages, media, contacts, and settings.
Email sending MCP 💌
ykhliThe official MCP server to send emails and interact with Resend
PhonePi MCP: Turn your phone into a toolbox for AI assistants using Model Context Protocol
priyankarkPhonePi MCP enables seamless integration between desktop AI tools and your smartphone, providing 23+ direct actions including SMS messaging, phone calls, contact management, snippet creation and search, clipboard sharing, notifications, battery status checks, and remote device co
MCP Teams Server
InditexTechAn MCP (Model Context Protocol) server implementation for Microsoft Teams integration, providing capabilities to read messages, create messages, reply to messages, mention members.
MCP-Discord
barryyip0625Implement Discord MCP server enabling AI assistants to interact with the Discord platform.
评论