Gmail
Gmail integration with multi-account support - read, search, send, and manage emails
- Type
- Plugin
- Repository
- team-attention/plugins-for-claude-natives
- GitHub stars
- 827
- License
- MIT
- Repo last updated
- Apr 20, 2026
- Source file
- plugins/gmail/.claude-plugin/plugin.json
- Version
- 1.0.0
What Gmail is
Gmail is a plugin published in the team-attention/plugins-for-claude-natives repository on GitHub, which has about 827 stars. The repository describes itself as: “Claude Code plugins for power users”
A plugin is a package that bundles skills, slash commands, subagents, hooks, and MCP connectors so they install together. Plugins are plain files with a manifest at .claude-plugin/plugin.json, and they work in both Claude Code and Claude Cowork.
Installing Gmail adds everything it ships in one step. Connectors inside a plugin still need to be connected separately, and hooks and subagents only run in Cowork and Claude Code, not in regular chat.
How to install Gmail
Claude Code
- Add the repository as a plugin marketplace: claude plugin marketplace add team-attention/plugins-for-claude-natives
- Install the plugin: claude plugin install gmail@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json.
- Restart the session if the new skills or commands don't appear straight away.
Claude Cowork
- Open Customize → Plugins and choose Add marketplace.
- Enter team-attention/plugins-for-claude-natives (the owner/repo shorthand works for GitHub).
- Find Gmail in the list, click Install, then connect any connectors it needs from its Connectors tab.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/gmail/.claude-plugin/plugin.json, shared under the repository's MIT license. Read the full file on GitHub.
A comprehensive Gmail integration plugin for Claude Code that enables multi-account email management through the Gmail API. Read, search, send, and organize emails directly from your Claude Code sessions.
Overview
The Gmail plugin provides a complete email management solution for Claude Code, supporting multiple Google accounts with features including:
- Multi-Account Support: Manage personal, work, and project-specific Gmail accounts
- Full Email Operations: List, read, send, reply, and organize emails
- Smart Caching: Local caching for optimized API usage
- Rate Limiting: Built-in quota management to prevent API throttling
- Batch Operations: Efficient bulk operations for label management and cleanup
- 5-Step Sending Workflow: Structured email composition with test sends and user confirmation
Features
Core Email Operations
- List and search emails with Gmail's powerful query syntax
- Read individual messages and entire threads
- Send new emails with plain text or HTML content
- Reply to existing conversations
- Attach files to outgoing emails
- Save emails as drafts
Organization & Management
- Create, update, and delete labels
- Mark messages as read/unread
- Star/unstar messages
- Archive and trash messages
- Batch modify labels across multiple messages
Advanced Features
- Local Caching: Reduces API calls by caching message lists and content
- Quota Management: Tracks usage against Gmail API limits (250 units/second)
- Exponential Backoff: Automatic retry with intelligent delays for rate limiting
- Batch Processing: Efficient bulk operations for high-volume tasks
Prerequisites
Before using this plugin, you need:
- Python 3.10+ with uv package manager
- Google Cloud Project with Gmail API enabled
- OAuth 2.0 credentials (Desktop application type)
Required Google OAuth Scopes
- gmail.modify - Read, modify, and delete emails
- gmail.send - Send emails on behalf of the user
- gmail.labels - Manage email labels
Setup Guide
Step 1: Create Google Cloud Project
- Go to Google Cloud Console
- Click the project selector at the top and select "New Project"
- Enter a project name (e.g., gmail-skill) and click "Create"
Step 2: Enable Gmail API
- Navigate to "APIs & Services" > "Library" in the left menu
- Search for "Gmail API"
- Click the "Enable" button
Step 3: Configure OAuth Consent Screen
- Go to "APIs & Services" > "OAuth consent screen"
- Select "External" for User Type and click "Create"
- Fill in the required fields:
- App name: Gmail Skill
- User support email: Your email address
- Developer contact: Your email address
- Click "Save and Continue"
- Add the following scopes:
- https://www.googleapis.com/auth/gmail.modify
- https://www.googleapis.com/auth/gmail.send
- https://www.googleapis.com/auth/gmail.labels
- Add your Gmail address as a test user
- Click "Save and Continue"
Step 4: Create OAuth Client ID
- Go to "APIs & Services" > "Credentials"
- Click "Create Credentials" > "OAuth client ID"
- Select "Desktop app" as the application type
- Enter a name (e.g., Gmail Skill Client)
- Click "Create"
- Download the JSON file
Step 5: Configure the Plugin
# Navigate to the skill directory
cd .claude/skills/gmail
# Move the downloaded credentials file
mv ~/Downloads/client_secret_*.json references/credentials.json
# Copy the default accounts configuration
cp assets/accounts.default.yaml accounts.yaml
# Edit accounts.yaml with your account informationStep 6: Authenticate Accounts
# Authenticate each account
uv run python scripts/setup_auth.py --account personal
uv run python scripts/setup_auth.py --account work
# Verify registered accounts
uv run python scripts/setup_auth.py --listWhen the browser opens:
- Log in to your Google account
- If you see "This app isn't verified", click "Advanced" > "Continue"
- Approve all permission requests
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Gmail?
Gmail is a plugin for Claude Code and Claude Cowork from the team-attention/plugins-for-claude-natives repository on GitHub. Gmail integration with multi-account support - read, search, send, and manage emails
How do I install Gmail in Claude Code?
Add the repository as a plugin marketplace: claude plugin marketplace add team-attention/plugins-for-claude-natives Install the plugin: claude plugin install gmail@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json. Restart the session if the new skills or commands don't appear straight away.
Can I use Gmail in Claude Cowork?
Open Customize → Plugins and choose Add marketplace. Enter team-attention/plugins-for-claude-natives (the owner/repo shorthand works for GitHub). Find Gmail in the list, click Install, then connect any connectors it needs from its Connectors tab.
Is Gmail safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Say Summary Speaks a short summary of Claude's response using macOS say command Plugin · team-attention/plugins-for-claude-natives
- Podcast Generate Korean podcast episodes from any source (URLs, tweets, articles, PDFs) with OpenAI TTS and auto-upload to YouTube Plugin · team-attention/plugins-for-claude-natives
- Youtube Digest Summarize YouTube videos with transcript, insights, Korean translation, and quizzes Plugin · team-attention/plugins-for-claude-natives
- Team Assemble Dynamically assemble expert agent teams for complex tasks using Claude Code's agent teams feature Plugin · team-attention/plugins-for-claude-natives
- Google Calendar Multi-account Google Calendar integration with parallel querying and conflict detection Plugin · team-attention/plugins-for-claude-natives
- Fetch Tweet Fetch full tweet text, author info, and engagement data from X/Twitter URLs without authentication Plugin · team-attention/plugins-for-claude-natives
- Interactive Review Interactive markdown review with web UI - review plans and documents with checkbox approvals and inline comments Plugin · team-attention/plugins-for-claude-natives
- Doubt Force Claude to re-validate when you have doubts (!doubt) Plugin · team-attention/plugins-for-claude-natives