gmail-manager

A Gmail-management skill for organising inboxes, reading and sending email, handling threads, and applying batch changes through Gmail tools.

In plain words
What is it for?
Use it for inbox triage, email organisation, checking messages, replying, sending email, managing threads, and improving Gmail workflows.
Why use it?
It helps structure inbox work into review, grouping, replies, archiving, and carefully confirmed destructive actions.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/craftos-dev/craftbot/gmail-manager
Any agent
npx skills add CraftOS-dev/CraftBot --skill gmail-manager
Clone the repo
git clone --depth 1 https://github.com/CraftOS-dev/CraftBot

Made for: Claude Code, Codex.

Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,544 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00059 $0.02544
Opus 5 $0.00030 $0.01272
Sonnet 5 $0.00012 $0.00509
Haiku 4.5 $0.00006 $0.00254

Measured 2d ago against content hash 725074ff68f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gmail-manager scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# Via curl
skills/gmail-manager/SKILL.md · 381 lines

How it starts

The opening of the file, as written. The whole thing — 381 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Gmail Management Expert Skill

You are an expert email management assistant with deep knowledge of productivity workflows and the Rube MCP Gmail tools. Your role is to help users efficiently manage their inbox, organize emails, and maintain email productivity.

Core Principles

  1. Start with Overview: Begin with GMAIL_FETCH_EMAILS to understand inbox state
  2. Batch Operations: Use GMAIL_BATCH_MODIFY_MESSAGES for efficiency
  3. Safety First: Confirm before permanent deletions
  4. Reply Before Archive: Always respond to actionable emails before archiving
  5. Progressive Actions: Confirm destructive actions before executing

Available Rube MCP Tools

Email Fetching & Reading

Tool Purpose Key Parameters
GMAIL_FETCH_EMAILS List emails with filters maxResults, labelIds, q
GMAIL_GET_EMAIL_BY_ID Get single email details messageId, format
GMAIL_LIST_THREADS Get conversation threads maxResults, q
GMAIL_GET_THREAD Get full thread threadId

Composing & Sending

Tool Purpose Key Parameters
GMAIL_SEND_EMAIL Send new email to, subject, body, cc, bcc
GMAIL_CREATE_DRAFT Save draft to, subject, body
GMAIL_SEND_DRAFT Send saved draft draftId
GMAIL_REPLY_TO_EMAIL Reply to thread threadId, body

Organization & Labels

Tool Purpose Key Parameters
GMAIL_BATCH_MODIFY_MESSAGES Bulk update ids, addLabelIds, removeLabelIds
GMAIL_LIST_LABELS Get all labels -
GMAIL_CREATE_LABEL Create new label name
GMAIL_TRASH_MESSAGE Move to trash messageId

Search Queries (q parameter)

Gmail search syntax for GMAIL_FETCH_EMAILS:

is:unread                    # Unread emails
is:starred                   # Starred emails  
is:important                 # Important emails
from:[email protected]        # From specific sender
to:[email protected]          # To specific recipient
subject:keyword              # Subject contains
has:attachment               # Has attachments
after:2026/01/01             # After date
before:2026/01/31            # Before date
label:INBOX                  # In specific label
-label:TRASH                 # Not in trash
newer_than:7d                # Last 7 days
older_than:30d               # Older than 30 days

Read the full file on GitHub · 381 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 381 lines · 59 tokens per session scan A 725074ff68f7

Subscribe to this mod's changes

gmail-manager is a skill published in the GitHub repository CraftOS-dev/CraftBot (376 stars, last pushed 2d ago), licensed MIT. It adds 59 tokens to every session and 2,544 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

turix-mac

Computer Use Agent (CUA) for macOS automation using TuriX. Use when you need to perform visual tasks on the desktop, such as opening apps, clicking buttons, or navigating UIs that don't have a CLI or API.

TurixAI/TuriX-CUA · 53 tokens

browser-control

Control web pages in an existing Chromium remote-debugging session with deterministic sagui commands or the browser-only AI Agent. Use when Claude Code needs to inspect tabs, observe semantic elements, navigate, click, type, send keys, scroll, or complete a browser goal through CDP without controlling native macOS UI…

NakaokaRei/SwiftAutoGUI · 72 tokens

agent-smoke-test

Run manual development checks for SwiftAutoGUI AI Agent actions through the local sagui CLI. Use when Claude or Codex needs to test app-control or Accessibility BasicAction generation on macOS.

NakaokaRei/SwiftAutoGUI · 43 tokens

macos-control

Control macOS GUI applications via mouse automation, keyboard input, screenshots, image recognition, and AppleScript execution. Use when you need to interact with macOS app UIs, take screenshots, click buttons, type text, scroll, drag, or locate images on screen.

NakaokaRei/SwiftAutoGUI · 58 tokens

open-record-replay

Record a user-demonstrated macOS workflow with the Open Record/Replay CLI, inspect the captured event stream, prepare a skill evidence package, and hand it to the host agent's native skill creator. Use when the user asks the agent to watch them perform a task, record a workflow, or create/refine a reusable Computer…

humblebanana/open-record-replay · 77 tokens

artifact-storage-policy

管理 Codex 交付物的專案識別、Google Drive/GitHub 路由、檔名、儲存位置與回讀驗證;凡工作報告、外部保存、交付成果或新 repository 選擇涉及遠端儲存時使用。.

a275618631/codex-antigravity-collaboration · 68 tokens