MCP_mail_server
Verified Safeby glennart8
Overview
Automates email handling for a fictional timber company by using AI to classify emails and execute predefined tools for responses and actions.
Installation
python mcp_client.pyEnvironment Variables
- GEMINI_API_KEY
- SENDER_EMAIL
- USE_GMAIL
- SEND_REAL_EMAILS
- MANAGER_EMAIL
Security Notes
The system uses `pickle` for persisting Google OAuth tokens (`token.pickle`). While used for legitimate credential storage, deserializing data from `pickle` can pose a security risk if the file is maliciously tampered with or loaded from an untrusted source. However, in this context, the file is self-generated by the application for its own trusted credentials.
Similar Servers
gmail-mcp
Manages Gmail emails programmatically, enabling AI systems to read, send, archive, and perform other email operations on behalf of a user.
mcp-server-google-workspace
Provides programmatic control over Google Workspace applications (Sheets, Docs, Drive, Gmail, Calendar, Slides) through a Model Context Protocol (MCP) server for AI automation.
PyData_Boston_2025_MCP_Server_Tutorial
Builds an MCP server to integrate AI agents with Gmail for reading unread emails, generating AI-powered replies, and sending emails.
stateful-auth-for-mcp-servers
Integrates Google Gmail and Calendar APIs to enable an AI agent to read emails and manage calendar events with stateful authorization for event deletions.