gmail-inbox-triage
Metadata-first screening blocks OTPs, banking alerts, and medical PII before reading message bodies. Neutralizes hidden prompt injections, builds nested labels, and mandates dry-run previews before bulk actions.
Local, zero-proxy Gmail MCP control paired with verified work emails, 80+ company datapoints, and live Google & Trustpilot intelligence.
Gmail MCP Server is a free, MIT-licensed local Model Context Protocol server connecting Claude, Cursor, Codex, and Windsurf directly to your Gmail account via 22 structured tools with zero proxy servers. Gmail Command Center is its official 5-skill AI agent pack on Agensi.io, adding deterministic privacy and prompt-injection screening, deliverability gating, Inbox-to-CRM CSV enrichment, work-email discovery, SMTP/catch-all verification, 80+ company datapoints, and live Google/Trustpilot review intelligence without extra SaaS API keys.
Go beyond raw Gmail API endpoints. Equip your agent with deterministic triage, enriched CRM scoring, and zero-bounce cold outreach without Apollo, Hunter, or ZeroBounce seats.
Metadata-first screening blocks OTPs, banking alerts, and medical PII before reading message bodies. Neutralizes hidden prompt injections, builds nested labels, and mandates dry-run previews before bulk actions.
Converts sent mail or search queries into a ranked crm_contacts.csv (stripping bots and noreply addresses) alongside pre-meeting briefs enriched with 80+ company datapoints, titles, and Google/Trustpilot reviews.
Targets ICP prospects, runs work-email waterfalls with mandatory SMTP + catch-all verification, pulls live review hooks, scores deliverability 0–100, and stages clean Gmail drafts.
Ingests full conversation threads and attachments, identifies overdue sent threads via Follow-Up Radar, audits tone and accidental commitments, and saves in-thread drafts for sign-off.
Guides new installations through npx @sar333/gmail-mcp-server setup, Google Cloud Test Users, OAuth health checks, and client JSON configs across macOS, Windows, and Linux.
22 TypeScript MCP tools built around strict Zod schemas, parallel batch safety, and zero remote token storage.
Detects macOS, Windows, and Linux MCP client paths automatically and wires valid JSON configs on first run.
advanced_filter defaults to dryRun: true so agents inspect exact match counts before modifying up to 1,000 messages.
Credentials remain on your workstation at ~/.gmail-mcp/token.json with gmail.modify scope only — no permanent delete.
Filter by sender, subject, labels, date bounds, attachments, and paginated cursor tokens.
Inspect decoded MIME bodies, headers, and entire multi-turn email conversations.
Save properly threaded drafts, reply, reply-all, or forward with optional prepended notes.
Create hierarchical / labels, list unread counts, archive, star, or toggle read state.
Apply batch label mutations or recoverable Trash moves in high-throughput single calls.
Fetch base64 attachment contents selectively for invoices, PDFs, and contracts.
Deduplicate sender/recipient lists from queries and rank your top 50 frequent contacts.
Render clean JSON arrays, Markdown tables, or compact summaries tailored for context budgets.
Every tool validates inputs via Zod and returns actionable diagnostic messages on auth or quota errors.
search_emailsGmail query search with paginationget_emailFull message headers, body & attachmentsget_threadComplete multi-message conversation threadget_attachmentFetch decoded attachment payloadcreate_draftSave draft (optionally bound to thread)send_emailSend plain-text or HTML messagereply_emailReply or reply-all keeping headersforward_emailForward with prepended operator notemodify_emailAdd or remove label IDs on one messagebatch_modify_emailsBatch label update up to 1,000 messagesadvanced_filterQuery + bulk action with dry-run defaulttrash_emailMove to 30-day recoverable Trashuntrash_emailRestore message from Trashbatch_trash_emailsBulk trash up to 1,000 messagesmark_spamQuarantine message(s) into Spamlist_labelsAll system/user labels & unread countscreate_labelCreate label with nested / pathsdelete_labelRemove user-created labelextract_addressesExtract deduplicated query addressesformat_emailsRender query output as JSON or tableget_profileAuthenticated mailbox & thread countsget_frequent_contactsTop 50 contacts ranked from sent mailReplace $150–$400+/mo in separate lookup, verification, and sequencing subscriptions with local Gmail control plus pay-per-hit data.
| Capability | Fragmented SaaS StackApollo + Hunter + ZeroBounce + Gmail | Generic Prompt PacksPrompt-only wrappers | Gmail MCP + Command Center |
|---|---|---|---|
| Direct Gmail reading, labels & drafts | Manual copy-paste or cloud OAuth proxy | No — text chat only | Yes — 22 local MCP tools |
| Work-email waterfall + SMTP & catch-all verify | 3+ separate subscriptions & keys | No — guesses first@domain | Built-in via Agensi (zero API keys) |
| Company enrichment & customer reviews | Extra enrichment & scraping seats | Hallucinates milestones | 80+ datapoints, Google & Trustpilot |
| PII shield & prompt-injection defense | Not engineered for agent prompts | Probabilistic prompt instructions | Deterministic Python pre-screener |
| Pre-send deliverability & placeholder gate | Manual eye review | Inconsistent LLM self-checks | Deterministic 0–100 SEND/REVISE/HOLD |
| Cost structure | $150–$400+/month recurring seats | One-time text prompt | Free local MCP + $8.49 pack + per-hit data |
Authorize directly against Google's Gmail API and connect any MCP client with one command.
Open Google Cloud Console, create a project, enable the Gmail API, and add your own Gmail address as a Test User under OAuth Consent Screen.
Create an OAuth Client ID (Desktop app) and save the downloaded file locally as ~/.gmail-mcp/credentials.json.
npx @sar333/gmail-mcp-server setup
Configures your MCP client automatically, completes local OAuth authentication, and verifies status via npx @sar333/gmail-mcp-server doctor.
{
"mcpServers": {
"gmail": {
"command": "npx",
"args": ["-y", "@sar333/gmail-mcp-server"]
}
}
}
Technical clarity on OAuth custody, managed Agensi keys, Standalone Mode, and client compatibility.
Install Node.js 18+, download a Desktop OAuth credentials.json from Google Cloud Console with the Gmail API enabled (adding yourself as a Test User), and run npx @sar333/gmail-mcp-server setup. The wizard writes the client config and completes local OAuth automatically.
Gmail MCP Server is the free MIT-licensed MCP server exposing 22 Gmail API tools. Gmail Command Center on Agensi.io is a 5-skill AI agent pack + 3 deterministic Python guardrail scripts orchestrating inbox triage, CRM exports, verified outreach, and thread replies across local Gmail MCP and Agensi live data tools.
No. When running Gmail Command Center through Agensi.io, email finding, SMTP/catch-all verification, company enrichment, and Google/Trustpilot lookups execute on Agensi's managed keys per call from one balance, and failed lookups cost nothing.
Yes. Gmail MCP Server runs 100% locally with zero third-party proxy servers or telemetry, stores tokens at ~/.gmail-mcp/token.json, and requests only gmail.modify scope (no permanent delete). Command Center adds metadata-first PII/injection screening and draft-first outreach so nothing sends without explicit approval.
Yes. Every skill supports Standalone Mode on pasted messages, conversation threads, domain lists, or CSV exports using live Agensi tools and deterministic local scripts — and includes gmail-setup-doctor to connect local Gmail MCP in under 3 minutes.
Gmail MCP Server supports Claude Desktop, Claude Code, Cursor, Windsurf, Codex CLI, Gemini CLI, and any compliant MCP client. Gmail Command Center follows the open SKILL.md format across 20+ agents connected to Agensi MCP including Claude, ChatGPT, Cursor, Claude Code, Codex CLI, Gemini CLI, and OpenClaw.