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 henryalouf

Gmail is a skill that lets an AI assistant search, read, send and label Gmail messages from the command line. It uses standalone OAuth scripts instead of an MCP server. It is for people automating inbox workflows on a Google Workspace account.

  • Score 71
  • 201 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/henryalouf/ruflow /tmp/ruflow && mkdir -p ~/.claude/skills && cp -r /tmp/ruflow/.agents/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

Gmail is a skill that lets an AI assistant search, read, send and manage Gmail messages from the command line, without an MCP server. It runs standalone Python scripts in scripts/gmail.py and authenticates with Google through scripts/auth.py, which opens a browser for OAuth login. The skill covers searching with Gmail query syntax, reading full messages or only metadata, sending plain and HTML emails, creating and sending drafts, changing labels, and listing labels.

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

What it can do

  • Search emailsSearches Gmail using Gmail query syntax, with filters for label, limit and spam or trash.
  • Read email contentGets full message content, headers only, or minimal IDs for a message.
  • Send emailsSends plain or HTML emails with CC, BCC and an optional configured alias as sender.
  • Manage draftsCreates a draft email and sends an existing draft by its ID.
  • Modify labelsAdds or removes labels such as UNREAD, STARRED, IMPORTANT and INBOX on a message.
  • List labelsLists all Gmail labels, both system and user-created.

What you need

  • Google Workspace account
  • Python
  • Browser for the OAuth login
  • System keyring (macOS Keychain, Windows Credential Locker or Linux Secret Service)

Try asking

  • Find unread emails from my boss from the last day
  • Send an email to user@example.com with a short team update
  • Mark this message as read and star it

Good to know

  • Requires a Google Workspace account. Personal Gmail accounts are not supported.
  • Sending from an alias works only 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: .agents/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 work with personal Gmail accounts?

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

Does it need an MCP server?

No. The skill is described as a lightweight integration with standalone OAuth scripts and no MCP server required.

Where are the login tokens stored?

Tokens are stored in the system keyring under the service name gmail-skill-oauth. The source lists macOS Keychain, Windows Credential Locker and Linux Secret Service.

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 71 of 100. Grades: maintenance B, 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.