Enables fetching and summarizing emails from Gmail based on custom queries or recent activity, including retrieving email summaries and finding top matching emails based on keywords.
Uses Google Cloud's OAuth authentication system and Gmail API to securely access and interact with user's email data.
📬 EmailAssistant for Claude Desktop
EmailAssistant is an MCP-compatible server that integrates with the Gmail API to fetch and summarize emails based on custom queries or recent activity. It can be used with Claude Desktop to interact hands-free with your inbox.
⚙️ Setup Instructions
1. Enable Gmail API
Go to Google Cloud Console.
Create a new project or use an existing one.
Enable the Gmail API under “APIs & Services”.
Create OAuth 2.0 Client ID credentials.
Download the
client_secret_XXXXX.jsonfile.
Related MCP server: Gmail MCP Server
🔧 Configuration Summary
🔁 Replace These in config.py
Replace
/absolute/path/to/your/projectwith the full path to your local EmailAssistant project directory.Replace
"your_client_secret_file.json"with the exact filename of your downloaded OAuth credentials from Google Cloud.
🖥️ 3. Claude Desktop Configuration
In your Claude Desktop configuration file:
✅ Running It
Once configured:
Start Claude Desktop
Claude will automatically recognize the
EmailAssistantMCP server.You can now use Claude to call functions like:
📌 Requirements
Python 3.9+
uv(or usepipif not usinguv)The following Python packages:
google-api-python-clientgoogle-auth-httplib2google-auth-oauthlibmcp[cli]