Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By pappcorn Verified Orgv0.4.0MITIn 1 marketplace
Lets Claude read, search, triage, draft and send Gmail from your own account. Needs a Google OAuth app you create yourself; it says credentials stay on your machine and it never deletes mail.
Trending plugins
7-day copy clicks
Connected while the plugin is enabled; Claude calls their tools.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
OAuth client IDclient_id
From the OAuth client you created in your own Google Cloud project. See docs/setup-google-cloud.md. Leave all three fields empty to resolve the credential from your working directory instead: the nearest .env (walking up to the repo root), then $GMAIL_MCP_CREDENTIALS, then ~/.config/pappcorn-gmail-mcp/credentials.json.
stringOptional
OAuth client secretclient_secret
From the same OAuth client. Stored in your OS keychain, never written to disk by this plugin.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
gmail-automation, email-triage, email-drafts, google-oauth, gmail-api, local-credentials, email, mcp
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
SensitivestringOptional
Refresh tokenrefresh_token
Minted by scripts/mint-token.mjs after you log in as the account you want the assistant to use. Grants access to that one mailbox only.
SensitivestringOptional
An MCP server for Gmail. Lets Claude read, search, triage, draft and send email from your own account.
It runs as a local process on your machine, on a credential you created for a mailbox you own, and talks directly to Google. It works in Claude Code and in any MCP client.
Two steps, roughly 15 minutes:
npx -y -p @pappcorn/gmail-mcp pappcorn-gmail-setup --client ~/Downloads/client_secret_xxx.json --account [email protected]
npx -y -p @pappcorn/gmail-mcp pappcorn-gmail whoami
(From a clone: npm run mint-token -- ... and npm run gmail -- whoami.)
| Tool | What it does |
|---|---|
mail_whoami | Which mailbox is authenticated, plus message/thread totals |
mail_search | Gmail query syntax (from:, is:unread, newer_than:7d, …) |
mail_read_thread | Full thread, decoded — including HTML mail as readable text |
mail_send | Send. Plain text or HTML, with attachments; replies thread correctly |
mail_draft | Compose into Drafts without sending — attachments included |
mail_label | Add/remove labels, creating them if needed |
mail_archive | Remove from inbox |
users/me. There is no code path to another mailbox.chmod 600 file and never
echoes it.Scopes: gmail.modify (read/search/label/archive) and gmail.send. To narrow
them, see Hardening.
mail_send and mail_draft always send multipart/alternative. Gmail cuts the text/plain part of a delivered message at about 70-75 columns, so a text-only mail reaches people with sentences broken mid-line. The text/html part is what fills the width of their screen.
text/plain, plus a generated text/html: blocks separated by a blank line become paragraphs, single newlines become line breaks, the text is HTML-escaped, and http(s) URLs become links.html: true. Your body is the text/html part, and the text/plain part is derived from it.Write each paragraph on one line. A plain-text body that looks hard-wrapped by hand is refused: three or more consecutive lines of 55-80 characters that stop mid-sentence with more text following. List items, quoted lines and code-looking lines don't count. If the line breaks are intentional, pass allow_hard_wraps: true (CLI: --allow-hard-wraps).
mail_send and mail_draft take local file paths via attachments (one path or
a list). Content-Type is inferred from the extension, filenames are encoded per
RFC 5987 so non-ASCII names survive, and the total is checked against Gmail's
25 MB message limit before anything is sent. Paths are never comma-split, so
filenames containing commas work.
Attachments may only come from one allowed directory: GMAIL_ATTACHMENT_DIR
(default: the server's working directory). Paths that resolve outside it —
including via symlinks — are rejected, so a hostile or confused prompt can't
mail out arbitrary files the process happens to be able to read.
The credential is resolved from the process working directory, never from where the package is installed. Highest precedence first:
7-day copy clicks
npx claudepluginhub pappcorn/universe --plugin gmail-mcpBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground