Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

gmail

Skill by glebis

Searches, fetches and downloads Gmail messages through the Gmail API. Built for users who want an AI assistant to find emails, read their contents and save attachments from their own inbox.

  • Score 76
  • 416 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install gmail

Built from the published package, never by AI.

git clone --depth 1 https://github.com/glebis/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/gmail ~/.claude/skills/gmail

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gmail in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The Gmail skill searches, fetches and downloads emails through the Gmail API. It accepts free-text queries in Gmail's native search syntax, plus helper flags for sender, recipient, subject, label, date range, unread, starred and attachment filters. Results appear as Markdown by default or as JSON with a flag, and the full body can be requested in place of the snippet.

Attachments can be downloaded from a message by its ID, either to a default folder or a custom path. A scope command switches between readonly, modify and full access, with readonly as the default. Setup uses a Google Cloud project with OAuth credentials. The skill suits users who want an assistant to work with their own Gmail account.

Written from the project's SKILL.md and checked against it.

What it can do

  • Search emailsRuns free-text or filtered Gmail searches with sender, label, date and status options.
  • Fetch full bodiesReturns the full email body with the --full flag instead of only the snippet.
  • Download attachmentsSaves attachments from a message ID to a default or custom folder.
  • List labelsShows all available Gmail labels, in Markdown or JSON.
  • Manage scopeViews or sets the API scope to readonly, modify or full.
  • Check setupReports whether credentials are configured and the skill is ready to use.

What you need

  • A Gmail account
  • A Google Cloud project with the Gmail API enabled
  • OAuth desktop app credentials saved to ~/.gmail_credentials/
  • Python 3
  • Python packages google-api-python-client, google-auth-httplib2 and google-auth-oauthlib

Try asking

  • Search Gmail for meeting notes from last week
  • Show my unread emails
  • Download the attachments from that invoice email

Good to know

  • Test-mode tokens expire after 7 days, according to the source.
  • Production use requires Google verification.
  • Default scope is readonly. The full scope includes delete.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: gmail/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to gmail

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

gmail: common questions

Can this skill delete Gmail messages?

Only with the full scope, which the source describes as including delete. The default scope is readonly.

Why does login return error 403 access_denied?

The source says the test app must be published under Publishing status on the OAuth consent screen. Without this step, login fails with that error.

Can the skill change labels or mark emails read?

The modify scope allows reading plus modifying labels and marking messages read or unread.

How do I install gmail?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is gmail free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is gmail safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to gmail?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

Add to stack

Loading.