Skip to content
Skill

skill-gmail-api

by majiayu000

AI Summary

Run or for options. 1. Create OAuth credentials at Google Cloud Console 2. Copy to and add your client_id/secret

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "skill-gmail-api" skill in my project.

Please run this command in my terminal:
# Install skill into your project (2 files)
mkdir -p .claude/skills/skill-gmail-api && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill-gmail-api/SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/skill-gmail-api/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill-gmail-api/metadata.json "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/skill-gmail-api/metadata.json"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Gmail API skill for email operations via CLI. Supports reading, drafting, sending, archiving, labeling, and batch operations. Use when user needs to: read emails, create/send drafts, reply to messages, archive/trash messages, manage labels, or perform bulk email operations.

Read

scripts/gmail.py read --limit 10 scripts/gmail.py read --query "is:unread" --full scripts/gmail.py get --id MSG_ID

Draft & Send

scripts/gmail.py draft --to "x@y.com" --subject "Hi" --body "Hello" scripts/gmail.py draft --reply-to MSG_ID --body "Thanks!" 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 star --id MSG_ID scripts/gmail.py mark-read --id MSG_ID

Batch

scripts/gmail.py batch-archive --query "from:newsletters@" scripts/gmail.py batch-mark-read --query "is:unread from:notifications@" ` Run scripts/gmail.py --help or scripts/gmail.py COMMAND --help for options. Full command reference: See references/commands.md

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted Today
Active
Adoption100+ stars on GitHub
209 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars209
Forks42
Issues1
UpdatedToday
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code