VOOZH about

URL: https://glama.ai/mcp/servers/muammar-yacoob/GMail-Manager-MCP

โ‡ฑ GMail Manager MCP by muammar-yacoob | Glama


Gmail Manager MCP

๐Ÿงน Clean your inbox โ€ข ๐Ÿท๏ธ Organize with labels โ€ข ๐Ÿ—‘๏ธ Bulk delete emails

๐Ÿ‘ npm
๐Ÿ‘ MCP Server
๐Ÿ‘ MIT
๐Ÿ‘ GitHub Sponsors
๐Ÿ‘ Report Bug
๐Ÿ‘ GitHub Stars

โœจ What It Does

Gmail Manager MCP provides direct access to your Gmail inbox through the Model Context Protocol, allowing you to:

Feature

Description

๐Ÿ‘ Image
๐Ÿ‘ Email Search

Find emails by sender, subject, date, or any Gmail query

๐Ÿ‘ Image
๐Ÿ‘ Inbox Analytics

Get insights about your email patterns and volume

๐Ÿ‘ Image
๐Ÿ‘ Read & Draft Replies

Read the full content of an email

๐Ÿ‘ Image
๐Ÿ‘ Smart Organization

Create and apply labels to categorize emails automatically

๐Ÿ‘ Image
๐Ÿ‘ Bulk Cleanup

Remove old newsletters, notifications, and spam efficiently

Related MCP server: Gmail MCP Server

๐Ÿš€ Quick Setup

๐Ÿ“‹ Prerequisites: Get Gmail Credentials ๐Ÿ—๏ธ

  1. Create New Project ๐Ÿ“

  2. Enable Gmail API ๐Ÿ“ง

  3. Create OAuth client ID (Desktop app type) ๐Ÿ”

  4. Download as gcp-oauth.keys.json ๐Ÿ“ฅ

  5. Navigate to Data access โ†’ Add or remove scopes โ†’ Enter: https://mail.google.com/ ๐Ÿ”“

  6. 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_PATH environment 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

๐Ÿ‘ Image
๐Ÿ‘ Authenticate Gmail

Authenticate Gmail access via web browser

๐Ÿ‘ Image
๐Ÿ‘ Search Emails

Search emails using Gmail query syntax

๐Ÿ‘ Image
๐Ÿ‘ Read Email

Read the full content of an email

๐Ÿ‘ Image
๐Ÿ‘ Create Reply

Create a draft reply to an email with a smart, context-aware response

๐Ÿ‘ Image
๐Ÿ‘ List Labels

List all Gmail labels

๐Ÿ‘ Image
๐Ÿ‘ Create Label

Create a new Gmail label

๐Ÿ‘ Image
๐Ÿ‘ Apply Label

Apply a label to an email

๐Ÿ‘ Image
๐Ÿ‘ Batch Apply Labels

Apply labels to multiple emails

๐Ÿ‘ Image
๐Ÿ‘ Remove Label

Remove a label from an email

๐Ÿ‘ Image
๐Ÿ‘ Delete Label

Delete a Gmail label

๐Ÿ‘ Image
๐Ÿ‘ Delete Email

Permanently delete an email

๐Ÿ‘ Image
๐Ÿ‘ Batch Delete Emails

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

A
license - permissive license
A
quality
C
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
0dRelease cycle
33Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/muammar-yacoob/GMail-Manager-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server