AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Gmail Skill

Search, read, send, draft, and label Gmail messages from Claude using standalone OAuth — no MCP server needed.

AutomationIntermediate★ 452⑂ 49AI score 9/10Last updated: Nov 2, 2026

What it does

  • One-time browser OAuth login via scripts/auth.py, then Claude drives Gmail through scripts/gmail.py.
  • Operations: search with native Gmail query syntax, read full/metadata message content, send mail (CC, BCC, HTML, alias sender), create and send drafts, add/remove labels (mark read, archive, star, mark important), list labels.
  • Tokens are kept in the OS keyring (macOS Keychain, Windows Credential Locker, Linux Secret Service) and refresh automatically.
  • Requirements: a Google Workspace account (personal Gmail is not supported) and a Python environment.

Who it's for

  • Workspace users who want an assistant to triage and reply to email
  • Developers looking for a lighter alternative to the full Google Workspace MCP server
  • Ops/support teams automating templated sends and unread-mail triage

Example uses

  1. "Summarize unread mail from my manager since yesterday" → search "from:boss@company.com is:unread newer_than:1d", then fetch bodies.
  2. "Prepare a customer reply for me to review" → create-draft, then send-draft DRAFT_ID after approval.
  3. "Archive every newsletter I haven't starred" → search "from:newsletter@example.com -is:starred" then modify --remove-label INBOX.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/sanjay3290/ai-skills/HEAD/skills/gmail/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the skills/gmail folder from the GitHub repo sanjay3290/ai-skills into my ~/.claude/skills/gmail/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/sanjay3290/ai-skills.git /tmp/ai-skills && mkdir -p ~/.claude/skills && cp -r /tmp/ai-skills/skills/gmail ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Clone the repository: git clone https://github.com/sanjay3290/ai-skills.git
  2. Copy the skill into Claude's skills folder: mkdir -p ~/.claude/skills && cp -r ai-skills/skills/gmail ~/.claude/skills/
  3. Confirm Python is available: python --version (install from python.org if missing)
  4. Install dependencies: cd ~/.claude/skills/gmail && pip install -r requirements.txt (skip if no requirements file; install packages the script asks for on first run)
  5. Authenticate: python scripts/auth.py login — a browser opens; sign in with your Google Workspace account and grant access.
  6. Verify with python scripts/auth.py status.
  7. Restart Claude Code and try a request like "find my unread emails from today" to trigger the skill.
View source on GitHub ↗License: Apache-2.0