By axisrow Verified
Gmail analyzer: 5-category email classification, auto-tagging, search, label management. Extends Gmail MCP.
Analyze Gmail emails with 5-category classification (Personal, Newsletter, Important, Noise, Spam). Use when user asks to check email, analyze inbox, review messages, triage mail, or classify emails.
Analyze and auto-tag Gmail emails with labels. Use when user asks to tag emails, auto-label, categorize inbox, apply labels automatically, classify and tag mail, or organize inbox with labels.
Manage Gmail labels: list, create, delete. Use when user asks about Gmail labels, tags, categories, wants to create/delete/list labels, or organize email labels.
Search Gmail emails by query. Use when user asks to find emails, search inbox, look for messages from someone, filter by sender/subject/date, find invoices, receipts, or specific emails.
A Claude Code plugin that extends Gmail MCP with 5-category email classification, auto-tagging, search, and label management. Also includes a standalone CLI (main.py).
git clone https://github.com/axisrow/claude_code_gmail_plugin.git
cd claude_code_gmail_plugin
cp -r skills/* ~/.claude/skills/
mkdir -p ~/.claude/scripts/gmail-analyzer
cp scripts/*.py gmail_client.py ~/.claude/scripts/gmail-analyzer/
pip install -r requirements.txt # Google API libs
For the standalone CLI (main.py):
pip install -r requirements-sdk.txt # + claude-agent-sdk, openpyxl
The client auto-selects an available backend: gcloud ADC → gws CLI → credentials.json.
Install gcloud CLI:
macOS (Apple Silicon):
curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-darwin-arm.tar.gz
tar -xf google-cloud-cli-darwin-arm.tar.gz
./google-cloud-sdk/install.sh
macOS (Intel):
curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-darwin-x86_64.tar.gz
tar -xf google-cloud-cli-darwin-x86_64.tar.gz
./google-cloud-sdk/install.sh
Open a new terminal after installation.
Initialize gcloud:
gcloud init
Create an OAuth Client ID in Google Cloud Console, download it as client_secret.json into the project root.
Authenticate:
gcloud auth application-default login \
--client-id-file=client_secret.json \
--scopes=https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/gmail.modify
npm install -g @googleworkspace/cli
gws auth setup
gws auth login -s gmail
Verify: gws gmail +triage --max 3
credentials.json into the project rootOnce installed, 4 skills are available:
| Skill | Command | Description |
|---|---|---|
| Email Analysis | /analyze-emails | 5-category classification (Personal, Newsletter, Important, Noise, Spam) |
| Search | /search-emails <query> | Gmail query syntax search (from:, subject:, newer_than:) |
| Labels | /manage-labels | List, create, delete labels |
| Auto-tag | /auto-tag | Analyze + suggest tags + confirm + apply |
Skills use Gmail MCP for reading and scripts from scripts/ for writing (applying labels).
main.py runs independently from Claude Code via Claude Agent SDK:
python main.py # analysis only (INBOX)
python main.py --tag # analysis + auto-tagging
python main.py --tag --label CATEGORY_X # tag emails with a specific label
python main.py --label CATEGORY_UPDATES # analyze emails with a specific label
python main.py top [N] # top-N newsletter senders
python main.py mark <Label_ID> <emails> # label emails from specific senders
python main.py mark-query <Label_ID> <q># label emails by Gmail query
python main.py analyze-senders [N] # sender analysis by sector (Excel)
python main.py labels # show all labels
python main.py labels create Name # create a custom label
python main.py labels delete Label_XX # delete a custom label
Important:
main.pycannot be run inside a Claude Code session (nested sessions are not allowed). Use a regular terminal.
Re-authorization: if you previously used the
gmail.readonlyscope, deletetoken.jsonand re-authorize withgmail.modify.
Verified owner:Alexey Lukyanchuk
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub axisrow/claude_code_gmail_pluginAutomated PR review cycle — request review, fix issues, repeat until approved, then merge. Cloud (GitHub bots) or local (in-process Claude subagent, plus Codex companion when @codex is configured) review mode.
Управление Яндекс.Директ: кампании, объявления, ставки, OAuth
Gmail integration with multi-account support - read, search, send, and manage emails
Scans your inbox for recent emails, triages by priority tier, and offers reply drafting. Template — customize the tiers and aliases to match your setup.
Natural language interface for Apple Mail — search, compose, triage, organize, and analyze email with 24 MCP tools and an expert email management skill
AI-powered email management and marketing skill for Claude Code. Inbox triage, composition, quality review, deliverability audit, automation sequences, and marketing strategy.
Email management via IMAP/SMTP — multi-account
IT intelligence skills powered by iGPT. Tracks incidents, access requests, software license renewals, security alert signals, change requests, and IT vendor commitments — all automatically from connected email datasources.