Cli gws-gmail-triage
Gmail: Show unread inbox summary (sender, subject, date).
install
source · Clone the upstream repo
git clone https://github.com/googleworkspace/cli
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/googleworkspace/cli "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/gws-gmail-triage" ~/.claude/skills/googleworkspace-cli-gws-gmail-triage && rm -rf "$T"
manifest:
skills/gws-gmail-triage/SKILL.mdsource content
gmail +triage
PREREQUISITE: Read
for auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
Show unread inbox summary (sender, subject, date)
Usage
gws gmail +triage
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
| — | 20 | Maximum messages to show (default: 20) |
| — | — | Gmail search query (default: is:unread) |
| — | — | Include label names in output |
Examples
gws gmail +triage gws gmail +triage --max 5 --query 'from:boss' gws gmail +triage --format json | jq '.[].subject' gws gmail +triage --labels
Tips
- Read-only — never modifies your mailbox.
- Defaults to table output format.
See Also
- gws-shared — Global flags and auth
- gws-gmail — All send, read, and manage email commands