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 benjaminasterA

Gmail Automation sends, searches, and manages Gmail through Rube MCP. It is for users who want their AI assistant to handle email, labels, and drafts.

  • Score 82
  • 522 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/benjaminasterA/antigravity-awesome-skills /tmp/antigravity-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/antigravity-awesome-skills/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 Automation is a skill for AI assistants that runs Gmail tasks through Rube MCP, which uses Composio's Gmail toolkit. It covers sending and replying to email, searching with Gmail query syntax, managing labels, applying labels to messages, and creating or sending drafts. It also covers downloading attachments and looking up contacts.

The skill sets out step-by-step tool sequences for each workflow and tells the assistant to call RUBE_SEARCH_TOOLS first to get current schemas. Setup requires adding https://rube.app/mcp as an MCP server and connecting Gmail through Google OAuth via RUBE_MANAGE_CONNECTIONS. The source lists pitfalls such as thread ID formats, label ID requirements, and batch limits. It is aimed at users who already run Rube MCP and want Gmail actions from their assistant. The source marks its risk field as unknown and its source as community.

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

What it can do

  • GMAIL_SEND_EMAILSends a new email with optional CC, BCC, and attachments.
  • GMAIL_REPLY_TO_THREADSends a reply inside an existing email thread.
  • GMAIL_FETCH_EMAILSSearches messages using Gmail query syntax and pagination.
  • GMAIL_FETCH_MESSAGE_BY_MESSAGE_IDGets full details for a selected message.
  • GMAIL_LIST_LABELSLists labels to find their IDs and detect conflicts.
  • GMAIL_CREATE_LABELCreates a new label, with optional nesting and colors.
  • GMAIL_BATCH_MODIFY_MESSAGESAdds or removes labels on up to 1000 messages per call.
  • GMAIL_CREATE_EMAIL_DRAFTCreates a draft, including reply drafts that stay in a thread.
  • GMAIL_SEND_DRAFTSends an existing draft, which requires explicit user approval.
  • GMAIL_GET_ATTACHMENTDownloads an attachment from an existing message.

What you need

  • Rube MCP connected at https://rube.app/mcp
  • RUBE_SEARCH_TOOLS available in the client
  • Active Gmail connection authorized with Google OAuth

Try asking

  • Search my unread emails from my boss this week and list the subjects.
  • Reply to the latest thread from Alice with a short confirmation.
  • Create a label called Work/Projects and apply it to these messages.

Good to know

  • Total message size is limited to about 25MB after base64 encoding.
  • Searches return up to 500 messages per page.
  • Batch label changes are capped at 1000 messages per call.
  • Deleting a label is permanent and removes it from all messages.

Security check

A

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

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

Inside the skill

  • SKILL.md10 KB

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 Gmail skill need an API key?

The source says no API keys are needed for the Rube MCP endpoint. A Gmail connection must still be authorized through Google OAuth.

Can the assistant send a draft without asking me?

The source says sending a draft requires explicit user approval. Other workflows, such as sending email, are described as direct tool calls.

Why does searching by custom label name fail?

The source says custom labels need the label ID, such as Label_123, not the display name. It recommends calling GMAIL_LIST_LABELS first to find the ID.

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 82 of 100. Grades: maintenance A, licence A, quality A. 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.