EmailAssistant
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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EmailAssistantsummarize my unread emails from the last 24 hours"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π¬ 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 Plugin MCP Server
π§ Configuration Summary
π Create config.py with these contents:
import os
SCOPES = ["https://www.googleapis.com/auth/gmail.readonly"]
PROJECT_DIR = "/absolute/path/to/your/project/directory/"
CREDENTIALS_FP = os.path.join(PROJECT_DIR, "client_secret_XXXXX.json")
TOKEN_FP = os.path.join(PROJECT_DIR, "token.json")Note: Make sure to replace the placeholders in the above code---PROJECT_DIR & CREDENTIALS_FP
π₯οΈ 3. Claude Desktop Configuration
In your Claude Desktop configuration file (can find it in Developer Settings):
{
"mcpServers": {
"EmailAssistant": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with",
"yake",
"--with",
"google-api-python-client",
"--with",
"google-auth-httplib2",
"--with",
"google-auth-oauthlib",
"mcp",
"run",
"/absolute/path/to/your/project/directory/main.py"
]
}
}
}β Running It
Once configured:
Start Claude Desktop
Claude will automatically recognize the
EmailAssistantMCP server.You can now use Claude to call functions like:
get_email_summary(time="newer_than:1d")
get_top_matching_email(query_keywords="project deadline")All you need to do is ask Claude in plain english about your inbox
π Requirements
Python 3.9+
uv(or usepipif not usinguv)The following Python packages:
google-api-python-clientgoogle-auth-httplib2google-auth-oauthlibmcp[cli]
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceMCP server that integrates with Gmail to enable sending, reading, and managing emails through tools like send-email, trash-email, get-unread-emails, and read-email.73GPL 3.0
- Alicense-qualityDmaintenanceAn MCP server that enables Gmail integration, allowing users to manage emails (send, receive, read, trash, mark as read) directly through MCP clients like Claude Desktop.1MIT
- Flicense-qualityDmaintenanceThis MCP server provides a natural language interface to the Gmail API, allowing users to interact with Gmail functionality (like emails, threads, labels, etc.) through the Model Context Protocol.
- Alicense-qualityDmaintenanceAn MCP server that provides Gmail access for LLMs, enabling email composition, sending, searching, and label management via the Gmail API.MIT
Related MCP Connectors
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
MCP server for Tomba email finder, verification, and contact enrichment API
Shipmail MCP server for AI agent custom-domain email inboxes with REST API and webhooks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/saathvikpd/MCPEmailAssistant'
If you have feedback or need assistance with the MCP directory API, please join our Discord server