v1.0: Initial Stable Release
๐ Mail MCP Bridge v1.0
First stable release of Mail MCP Bridge - connect macOS Mail to AI through Model Context Protocol.
โจ Key Features
- ๐ง Direct Email Access: AI assistants (Claude, ChatGPT) can directly read your macOS Mail emails
- ๐งต Thread Support: Retrieve entire email conversations with one Message-ID
- โก Lightning Fast: Millisecond-level query response
- ๐ฏ AI-Optimized: Clean plain text extraction, perfect for AI analysis
- ๐ Privacy First: Local processing only, emails never leave your Mac
๐ ๏ธ MCP Tools
get_email_path: Get single email file path by Message-IDget_thread_paths: Get all paths in an email threadread_email: Parse and read single email contentread_thread: Read entire email thread
๐ Quick Start
# Clone the repository
git clone https://github.com/fatbobman/mail-mcp-bridge.git
cd mail-mcp-bridge
# Install MCP dependencies
pip3 install mcp
# Configure Claude Desktop
# Edit ~/Library/Application Support/Claude/claude_desktop_config.json
# Add mail-mcp-bridge to mcpServers
# Setup Automator Quick Action for copying Message-ID
# See README.md for detailed instructions๐ Documentation
๐ง Technical Highlights
- Mail V10 Database Support: Works on macOS 12.0+ (Monterey through Tahoe)
- ROWID Discovery: Critical finding that email filename = SQLite ROWID (not remote_id)
- Smart Parsing: Handles multipart emails, various encodings, Base64, quoted-printable
- Threading Headers: Extracts References and In-Reply-To for conversation analysis
๐ Acknowledgments
Built for the MCP (Model Context Protocol) ecosystem. Inspired by the need to bridge email and AI.
๐ฎ Feedback
- Issues: https://github.com/fatbobman/mail-mcp-bridge/issues
- Author: Fatbobman (Xu Yang)
Made with โค๏ธ for the AI community