Skill Gmail Api
Description
Claude Agent Skill for Gmail API - read, draft, send, archive, label, batch operations
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Gmail API Skill
A Claude Agent Skill for Gmail operations via CLI. Read, draft, send, archive, label, and batch-process emails.
Setup
**Create OAuth credentials** at [Google Cloud Console](https://console.cloud.google.com/apis/credentials):
- Create project → Enable Gmail API
- Configure OAuth consent screen (External, add yourself as test user)
- Create OAuth Client ID (Desktop app)
**Configure credentials**:
cp credentials.example.json credentials.json # Edit credentials.json with your client_id and client_secret**Install dependencies**:
python3 -m venv .venv .venv/bin/pip install -r requirements.txt**First run** opens browser for OAuth consent:
.venv/bin/python scripts/gmail.py read --limit 3
Usage
# Read emails
scripts/gmail.py read --limit 10
scripts/gmail.py read --query "is:unread" --full
# Create draft
scripts/gmail.py draft --to "x@y.com" --subject "Hi" --body "Hello"
scripts/gmail.py draft --reply-to MSG_ID --body "Thanks!"
# Send
scripts/gmail.py send --draft-id DRAFT_ID
scripts/gmail.py send --to "x@y.com" --subject "Hi" --body "Hello"
# Manage
scripts/gmail.py archive --id MSG_ID
scripts/gmail.py trash --id MSG_ID
scripts/gmail.py mark-read --id MSG_ID
# Batch operations
scripts/gmail.py batch-archive --query "from:newsletters@"
Run `scripts/gmail.py --help` for all 24 commands.
As a Claude Skill
This repo follows the [Agent Skills spec](https://docs.claude.com/en/docs/claude-code/skills). Drop it in your skills directory and Claude will discover it via the `SKILL.md` metadata.
License
MIT
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development