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-automation

Skill by FrancoStino

Gives an AI assistant command line access to Gmail for searching, reading, sending and labeling messages. It uses standalone OAuth scripts and needs no MCP server. Built for automating inbox workflows on Google Workspace accounts, since personal Gmail is not supported.

  • Score 70
  • 93 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install gmail-automation

Built from the published package, never by AI.

git clone --depth 1 https://github.com/FrancoStino/opencode-skills-collection /tmp/opencode-skills-collection && mkdir -p ~/.claude/skills && cp -r /tmp/opencode-skills-collection/bundled-skills/gmail-automation ~/.claude/skills/gmail-automation

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

Step-by-step: install gmail-automation in Claude Code

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

About

The gmail-automation skill gives an AI assistant command line access to Gmail through standalone OAuth scripts, without an MCP server. It can search and read messages, send emails with CC, BCC, aliases and HTML, create and send drafts, change message labels, and list Gmail labels. Commands run through scripts/gmail.py, which signs in automatically on first use.

Tokens are stored in the system keyring (macOS Keychain, Windows Credential Locker, or Linux Secret Service) and refresh automatically through Google's cloud function. The skill requires a Google Workspace account, as personal Gmail accounts are not supported. It is aimed at people who want to automate inbox workflows for a Workspace account from the command line.

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

What it can do

  • Search emailsSearches Gmail using Gmail query syntax, with label filters and an option to include spam and trash.
  • Read email contentGets full message content, headers only, or minimal ID responses for a message.
  • Send emailsSends plain or HTML emails with CC, BCC and an optional configured alias as sender.
  • Manage draftsCreates draft emails and sends existing drafts by ID.
  • Modify labelsMarks messages read or unread, archives, stars, flags as important, and changes other labels.
  • List labelsLists all Gmail system and user-created labels.

What you need

  • Google Workspace account
  • Python to run the scripts
  • System keyring (macOS Keychain, Windows Credential Locker or Linux Secret Service)

Try asking

  • Search my unread emails from my boss from the last day
  • Draft an email to the team with the Friday update
  • Archive and star the message with this ID

Good to know

  • Requires a Google Workspace account. Personal Gmail accounts are not supported.
  • Frontmatter lists the risk level as critical.
  • Send from an alias only works if the alias is configured in Gmail settings.

Security check

A

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

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

Alternatives to gmail-automation

All alternatives →

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

gmail-automation: common questions

Does this skill need an MCP server?

No. The skill is described as a lightweight Gmail integration that uses standalone OAuth scripts and requires no MCP server.

Where are the Gmail login tokens stored?

Tokens are stored in the system keyring, such as macOS Keychain, Windows Credential Locker or Linux Secret Service, under the service name gmail-skill-oauth.

Can I use it with a personal Gmail account?

No. The source states that personal Gmail accounts are not supported and that a Google Workspace account is required.

How do I install gmail-automation?

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

Is gmail-automation free?

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

Is gmail-automation safe to use?

It scores 70 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-automation?

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

gmail-automation Install

Add to stack

Loading.