Back to Home
schwabenschulle icon

imap-email-mcp

Verified Safe

by schwabenschulle

Overview

Enables AI assistants to fetch, read, summarize, and send emails via IMAP/SMTP, primarily for extracting structured information like payment details.

Installation

Run Command
./start_server.sh

Environment 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

Stats

Interest Score0
Security Score6
Cost ClassHigh
Avg Tokens130000
Stars0
Forks0
Last Update2025-12-07

Tags

Email AutomationAI AssistantIMAPSMTPEmail Summarization