About Gmail Manager
Gmail Manager is an MCP server published by muammar-yacoob in the Search category: gmail Manager MCP gives Claude Desktop direct access to your Gmail inbox, allowing you to: π Search & Filter - Find emails by sender, subject, date, or any Gmail query π·οΈ Smart Organization - Create and apply labels to categorize emails automatically ποΈ Bulk Operations - Delete multiple emails at once based on your criteria π Inbox Analytics - Get insights about your email patterns and volume π§Ή Smart Cleanup - Remove old newsletters, notifications, and spam efficiently Perfect for inbox zero enthusiasts and anyone drowning in email overload!.
The repository has 10 stars and 5 forks, with the last commit 23 days ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/muammar-yacoob/gmail-manager-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (3)
get_threadEvery message in a conversation, oldest first
Parameters not published.
read_emailFull content of one email
Parameters not published.
search_emailsSearch using Gmail query syntax
Parameters not published.
Ask AI
Ask AI about Gmail Manager
Powered by Claude · Grounded in docs
Security checks
- βREADME presentThe repository ships documentation.
5 checks have not been run yet.
README
Gmail Manager MCP
π§Ή Clean your inbox β’ π·οΈ Organize with labels β’ ποΈ Bulk delete emails
β¨ What It Does
Gmail Manager MCP provides direct access to your Gmail inbox through the Model Context Protocol, allowing you to:
| Feature | Description |
|---|---|
| Find emails by sender, subject, date, or any Gmail query | |
| Get insights about your email patterns and volume | |
| Read the full content of an email | |
| Create and apply labels to categorize emails automatically | |
| Remove old newsletters, notifications, and spam efficiently |
π Quick Setup
π Prerequisites: Get Gmail Credentials ποΈ
- Create New Project π
- Enable Gmail API π§
- Create OAuth client ID (Desktop app type) π
- Download as
gcp-oauth.keys.jsonπ₯ - Navigate to Data access β Add or remove scopes β Enter:
https://mail.google.com/π - Navigate to Test users β Add your Google email π€
π Where to put gcp-oauth.keys.json:
For Windows users in WSL:
# Copy from Windows to current directory
cp /mnt/c/Users/YourUsername/gcp-oauth.keys.json ./gcp-oauth.keys.json
General locations:
- Current directory:
./gcp-oauth.keys.json(works everywhere) - Home directory:
~/gcp-oauth.keys.json(for npx usage) - Custom path: Set
GMAIL_OAUTH_PATHenvironment variable
π₯ Installation
npm i -g @spark-apps/gmail-manager-mcp
git clone https://github.com/muammar-yacoob/GMail-Manager-MCP.git
cd GMail-Manager-MCP
npm install
π» Terminal Usage
# Install globally
npm i -g @spark-apps/gmail-manager-mcp
# Setup authentication (run this first)
npx @spark-apps/gmail-manager-mcp@latest auth
# Test MCP server (for debugging)
npx @modelcontextprotocol/inspector npx @spark-apps/gmail-manager-mcp@latest
βοΈ Configure MCP Client
Add to your MCP client config file (Claude Desktop example):
- Windows
%APPDATA%\\Claude\\claude_desktop_config.json - macOS
~/Library/Application Support/Claude/claude_desktop_config.json - Linux
~/.config/Claude/claude_desktop_config.json
π¦ For NPM Install:
{
"mcpServers": {
"gmail-manager": {
"command": "npx", "args": ["@spark-apps/gmail-manager-mcp@latest"],
"env": { "GMAIL_OAUTH_PATH": "C:\\path\\to\\gcp-oauth.keys.json" }
}
}
}
For Local Development:
{
"mcpServers": {
"gmail-manager": {
"command": "node", "args": ["C:\\path\\to\\GMail-Manager-MCP\\dist\\index.js"]
}
}
}
π οΈ Available Tools
| Tool | Description |
|---|---|
| Authenticate Gmail access via web browser | |
| Search emails using Gmail query syntax | |
| Read the full content of an email | |
| Create a draft reply to an email with a smart, context-aware response | |
| List all Gmail labels | |
| Create a new Gmail label | |
| Apply a label to an email | |
| Apply labels to multiple emails | |
| Remove a label from an email | |
| Delete a Gmail label | |
| Permanently delete an email | |
| Delete multiple emails at once |
π¬ Example Commands
- "Delete all promotional emails from last 30 days"
- "Delete all unread newsletters older than 1 week"
- "Delete all 'no-reply' emails from last 3 months"
- "Delete all LinkedIn notification emails"
- "Delete all password reset emails older than 1 month"
- "Delete redundant email chains where I'm CC'd"
- "Summarize email with subject: 'last boring meeting'"
- "Summarize all emails about 'project deadline'"
- "Reply to email about 'project update' saying 'Got it, thanks!'"
- "Label all emails from my bank as 'Finance'"
- "Create 'Travel' label and move all booking confirmations"
- "Find emails with attachments larger than 5MB"
- "Show me who sends me the most emails"
- "Find all unread emails older than 1 week"
- "Show my busiest email days this month"
- "Find emails I starred but never replied to"
π± Support & Contributions
β Star the repo & I power up like Mario π
β Devs run on coffee - Buy me one?
π° Crypto tips welcome - Tip in crypto
π€ Contributions are welcome - π΄ Fork, improve, PR!
π₯ Need help? Setup Tutorial β’ Join Discord
π Sponsor
Your support helps maintain and improve the tool. please consider sponsoring the project.
Made with β€οΈ for MCP β’ Privacy Policy β’ Terms of Service
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.