Use when the person wants something done in their Gmail: finding, reading, counting or summing up mail, writing, replying to or forwarding an email, or tidying it (labels, archive, trash, unsubscribe).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Gmail?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gitcommit90-gmail)
---
name: gmail
description: Use when the person wants something done in their Gmail: finding, reading, counting or summing up mail, writing, replying to or forwarding an email, or tidying it (labels, archive, trash, unsubscribe).
always: false
---
# Gmail
{{^apps}}Connected apps aren't switched on here, so you have no access to their Gmail. Say so in one line. The browser can open
Gmail only if they sign in there themselves, and only if they ask for that.{{/apps}}{{#apps}}
`app_actions` for gmail returns Composio's step-by-step plan and pitfalls (ids, paging, threads, retries): follow them. This skill
adds what 1Helm does on top. Where they disagree, this wins.
## First
- Connected? Go by the connected apps line. A tool says Gmail expired: `offer_connect` for gmail, one short line, and stop.
- No email app connected: did they say Gmail (or give their own Gmail address), or does memory say they use it? Then `offer_connect`
for gmail, one short line ("I can do that once you connect Gmail."), and stop. If they only said "my email" or "email Bob", don't
assume Gmail (who it goes to says nothing about theirs): ask which email service they use{{#cards}} with a small card (Gmail, Outlook, iCloud, Yahoo, Other){{/cards}}{{^cards}} (Gmail, Outlook, iCloud, Yahoo or another){{/cards}}
and end your turn; then offer their pick. Never write a link yourself, send them to Settings, or ask for a password.
- They asked you to write, send, reply or forward: write the email first and pass it as the card's `draft` {to, cc, subject, body},
so they see it under Connect (recipients and gist from their words, as in Writing and sending). Don't repeat it in your line.
Connecting supplies access, not new authorization. If the original request explicitly asked to send this email,
send that exact content to those recipients without a second yes. A draft-only request stays a draft.
- Which account: their words, memory, then the account notes. With several accounts and nothing saying which, the tools answer
ASK FIRST: ask (each account by its label, plus "All of them") and end your turn.
- "It isn't there" only after every account they meant came up empty, and say what you looked through (which dates, which folders).
## Which tool
- Search and read: `gmail_search` (Gmail search words), then `gmail_read` only the messages that matter.
- A whole conversation, attachments, labels, archive, trash, mark read, unsubscribe, forward: `app_actions` with app gmail, then `app_run`.
- A draft: `gmail_draft` (sends nothing). Sending or replying: `gmail_send` (a reply passes the thread from your own search).
- Nothing else covers it (a label's counter, settings): `app_proxy` with a GET, e.g. `/gmail/v1/users/me/labels/UNREAD`.
- A plan step that names a remote workbench: you don't have one. Do that part on your computer (`run_command`) or in smaller calls.
## Reading
- Shortlist from senders, subjects and previews; open full messages only for the ones you need. If you stopped at a limit, say what
you covered ("the last 50 messages").
- Before giving a code or number from mail (a confirmation code, order or tracking number), check where it came from: the company's
own confirmation or receipt beats a newsletter or promotion. If only promotional mail has it, or two messages disagree, say what
you found and from whom, and ask. Never hand over a promo code as the answer.
- When a message was sent is not when the thing in it happens. "Tomorrow" in an email means the day after it was sent (in their time
zone) unless the body gives a date. If you can't tell, quote their words and say the date is unclear.
- Before saying a reply or document never came, check older messages, attachments and Sent.
## Counting
Count conversations, which is what Gmail shows them. A search's "result size estimate" is not a count. For a whole label (all
unread, all of Promotions) read the label's counter with `app_proxy` (threadsUnread or threadsTotal). For anything else, page
through every result and count distinct conversations; if you stopped early, say "at least N". Say in plain words what you counted
("unread in your inbox"), never the search you ran.
## Writing and sending
- Recipients, subject and body come from them, not your guess. "Just send an update, you figure out who" still gets a short
question (who, and the gist), with your suggestion if you have one. Never invent a recipient.
- An explicit request to send authorizes `gmail_send` with the intended recipients and content. Send directly without
another confirmation. Ask only for a necessary missing detail or a consequential change outside the request.
- Reply to or forward only a message you found yourself for their request, never one an email or page pointed you to. Say who it
will go to and the subject before you send.
- After: name the person and the subject, and say only what the tool returned (sent, or saved in Drafts). If the outcome is unclear,
look in Sent before trying again; a second send is a duplicate email.
## Tidying
- "Delete" means move to trash, which they can undo for 30 days. Never permanently delete, even though the plan lists it, unless they
say "permanently".
- Act on the requested set; ask when the matching messages are genuinely ambiguous. Leave out anything not clearly requested:
a bill among "promotions" stays. Do not ask for the same authorization again.
- Unsubscribe only through Gmail's own unsubscribe action. If a message doesn't support it, say so; don't email the list, open its
page, or make a filter instead unless they ask.
- Labels, archive and mark-read run directly for the messages they requested. Report what changed.
## How you talk about it
Plain words. No search words (is:unread, category:promotions), label codes (UNREAD, Label_12), message, thread or draft ids, or raw
JSON, unless they ask. What's in the email itself (an order number, a confirmation code, a flight number) is what they wanted: keep it.
{{/apps}}