PluginBench
Skill
Pass
Audit score 90

gws-gmail-triage

googleworkspace/cli

Quickly view your unread Gmail inbox with sender, subject, and date.

What is gws-gmail-triage?

This skill displays a summary of unread messages in your Gmail inbox, showing sender, subject, and date for each message. Use it to triage incoming emails and stay on top of your inbox without opening Gmail.

  • Display unread messages with sender, subject, and date
  • Limit results with --max flag (default 20 messages)
  • Filter messages using Gmail search queries via --query flag
  • Include label names in output with --labels flag
  • Output in table or JSON format for easy parsing

How to install gws-gmail-triage

npx skills add null --skill gws-gmail-triage
Prerequisites
  • Google Workspace CLI (gws) installed
  • Authentication configured via gws-shared skill
  • Read access to Gmail account
Claude Code
Cursor
Windsurf
Cline

How to use gws-gmail-triage

  1. 1.Run `gws gmail +triage` to display your 20 most recent unread messages
  2. 2.Use `--max N` to change the number of messages shown
  3. 3.Use `--query 'search terms'` to filter by Gmail search syntax (e.g., `from:boss`)
  4. 4.Add `--labels` flag to include label names in the output
  5. 5.Pipe to `jq` or other tools when using `--format json` for further processing

Use cases

Good for
  • Quick morning inbox check to see what needs attention
  • Filter unread emails from a specific sender using custom queries
  • Export unread message subjects to JSON for processing by other tools
  • Review inbox status without opening the Gmail web interface
Who it's for
  • Email power users managing high-volume inboxes
  • Developers automating email workflows
  • Anyone wanting a command-line inbox summary

gws-gmail-triage FAQ

Does this skill modify my mailbox?

No, it is read-only and never modifies your emails or mailbox.

What is the default search query?

By default, it shows messages matching `is:unread`. You can override this with the --query flag.

Can I filter by sender?

Yes, use `--query 'from:sender@example.com'` to filter emails from a specific sender.

What output formats are supported?

Table format is the default. Use `--format json` to output as JSON for scripting.

Full instructions (SKILL.md)

Source of truth, from googleworkspace/cli.


name: gws-gmail-triage description: "Gmail: Show unread inbox summary (sender, subject, date)." metadata: version: 0.22.5 openclaw: category: "productivity" requires: bins: - gws cliHelp: "gws gmail +triage --help"

gmail +triage

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Show unread inbox summary (sender, subject, date)

Usage

gws gmail +triage

Flags

FlagRequiredDefaultDescription
--max20Maximum messages to show (default: 20)
--queryGmail search query (default: is:unread)
--labelsInclude 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