imap-email-mcp
Verified Safeby schwabenschulle
Overview
Enables AI assistants to fetch, read, summarize, and send emails via IMAP/SMTP, primarily for extracting structured information like payment details.
Installation
./start_server.shEnvironment Variables
- OPENAI_API_KEY
- IMAP_HOST
- IMAP_USER
- IMAP_PASS
- SMTP_HOST
- SMTP_PORT
- EMAIL_FROM_NAME
- FLASK_PORT
- FLASK_HOST
- MCP_API_KEY
Security Notes
The server processes highly sensitive financial data (payer name, transaction ID, amount) from emails and sends it to an external OpenAI API for summarization. This inherently increases the risk surface for data exposure. While credentials are handled via environment variables (good practice), the `MCP_API_KEY` authentication can be optionally disabled, which is a significant security risk in production. Users must securely manage their `.env` file and be aware of the implications of sending sensitive email content to a third-party AI service. There is no `eval` or obvious command injection vulnerability, and `BeautifulSoup` is used for HTML parsing.
Similar Servers
mcp-email-server
This server allows MCP clients to interact with email accounts via IMAP and SMTP protocols, enabling functionalities like listing, fetching, sending, and deleting emails.
outlook-mcp
Enables AI assistants to interact with Microsoft Outlook for email, calendar, and SharePoint operations through the Microsoft Graph API.
gmail-mcp
Manages Gmail emails programmatically, enabling AI systems to read, send, archive, and perform other email operations on behalf of a user.
outlook-mcp-server
AI-powered local email management for Microsoft Outlook, enabling search, composition, organization, and batch forwarding of emails using natural language commands.