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.
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., "@GMail Manager MCPdelete all promotional emails from last month"
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.
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 |
Related MCP server: Gmail MCP
π 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
For Windows users in WSL:
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
π» Terminal Usage
βοΈ Configure MCP Client
Add to your MCP client config file (Claude Desktop example):
Windows
%APPDATA%\\Claude\\claude_desktop_config.jsonmacOS
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux
~/.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 | |
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 -
π° Crypto tips welcome - Tip in crypto
π€ Contributions are welcome - , improve, PR!
π₯ Need help? β’
π Sponsor
Your support helps maintain and improve the tool. please consider .
Made with β€οΈ for MCP β’ Privacy Policy β’ Terms of Service