Provides comprehensive Gmail inbox management capabilities including email search, reading, bulk deletion, label creation and management, and inbox analytics for organizing and cleaning up email accounts.
Gmail Manager MCP
🧹 Clean your inbox • 🏷️ Organize with labels • 🗑️ Bulk delete emails
✨ What It Does
Gmail Manager MCP gives Claude Desktop direct access to your Gmail inbox, 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
:
- If using npm (npx): Place it in your home directory
Windows:%USERPROFILE%
• macOS/Linux:~/
- If running locally from source: Place it in the project root (same folder as
package.json
) - Or set a custom path: Define
GMAIL_OAUTH_PATH
in your Claude Desktop config to point to the file
📥 Installation
⚙️ Configure Claude Desktop
Add to your Claude Desktop config file:
%APPDATA%\\Claude\\claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
📦 For NPM Install:
For Local Development:
🛠️ Available Tools
Tool | Description |
---|---|
Authenticate Gmail access via web browser | |
Search emails using Gmail query syntax | |
Read the full content of an email | |
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'"
- "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?
🤝 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 Claude Desktop • Privacy Policy • Terms of Service
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Connects Claude Desktop to your Gmail so you can start managing your inbox using natural language. Bulk delete promos & newsletters, organize labels and get useful insights.
Related MCP Servers
- -securityAlicense-qualityServer for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.Last updated -2,698657MIT License
- -securityAlicense-qualityA server that allows Claude to search and retrieve emails from your Gmail account, supporting functions like searching emails, retrieving full content of specific emails, and listing recent messages.Last updated -5Apache 2.0
- -securityFlicense-qualityAn integration server that provides Claude Desktop access to Gmail, enabling users to view recent emails and search their Gmail inbox using natural language commands.Last updated -7
- -securityFlicense-qualityConnects Claude with Microsoft Outlook through the Graph API, providing comprehensive email, calendar, folder management, and rules creation capabilities.Last updated -12