Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
googleworkspace avatar

Gws Gmail

  • 66.2k installs
  • 30k repo stars
  • Updated July 22, 2026
  • googleworkspace/cli

Gmail CLI is a skill for programmatic email operations via Gmail API through the gws command-line interface.

About

Programmatic email operations via Gmail API through gws CLI. Provides send, read, reply, forward, and watch capabilities. Developers use this to automate email workflows and integrate Gmail into agent applications.

  • Send, read, reply, forward operations
  • Stream new emails as NDJSON
  • Full thread and message management

Gws Gmail by the numbers

  • 66,225 all-time installs (skills.sh)
  • +2,541 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #15 of 690 Office & Documents skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

gws-gmail capabilities & compatibility

Works with
gmail
From the docs

What gws-gmail says it does

Send, read, and manage email
SKILL.md
Watch for new emails and stream them as NDJSON
SKILL.md
npx skills add https://github.com/googleworkspace/cli --skill gws-gmail

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs66.2k
repo stars30k
Security audit2 / 3 scanners passed
Last updatedJuly 22, 2026
Repositorygoogleworkspace/cli

How do you send and triage Gmail from the terminal?

Automating email workflows and integrating Gmail with agents

Who is it for?

Email automation, agent integration, workflow triggers

Skip if: Email client replacement, UI email applications

When should I use this skill?

A developer or agent needs to send status email, summarize unread Gmail, reply to a thread, or watch for new mail via `gws gmail`.

What you get

Sent messages, inbox triage summaries, reply drafts, and Gmail API responses returned as structured CLI output.

  • sent emails
  • inbox triage summaries
  • gmail api cli responses

By the numbers

  • Skill metadata version 0.22.5
  • Documents 3 helper commands: +send, +triage, +reply
  • Targets Gmail API v1

Files

SKILL.mdMarkdownGitHub ↗

gmail (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.
gws gmail <resource> <method> [flags]

Helper Commands

CommandDescription
`+send`Send an email
`+triage`Show unread inbox summary (sender, subject, date)
`+reply`Reply to a message (handles threading automatically)
`+reply-all`Reply-all to a message (handles threading automatically)
`+forward`Forward a message to new recipients
`+read`Read a message and extract its body or headers
`+watch`Watch for new emails and stream them as NDJSON

API Resources

users

  • getProfile — Gets the current user's Gmail profile.
  • stop — Stop receiving push notifications for the given user mailbox.
  • watch — Set up or update a push notification watch on the given user mailbox.
  • drafts — Operations on the 'drafts' resource
  • history — Operations on the 'history' resource
  • labels — Operations on the 'labels' resource
  • messages — Operations on the 'messages' resource
  • settings — Operations on the 'settings' resource
  • threads — Operations on the 'threads' resource

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws gmail --help

# Inspect a method's required params, types, and defaults
gws schema gmail.<resource>.<method>

Use gws schema output to build your --params and --json flags.

Related skills

Forks & variants (1)

Gws Gmail has 1 known copy in the catalog totaling 6 installs. They canonicalize to this original listing.

How it compares

Pick gws-gmail over generic email SDKs when you already standardize on the `gws` CLI and want agent-ready Gmail commands without writing OAuth flows.

FAQ

What CLI command sends email with gws-gmail?

gws-gmail documents the +send helper and `gws gmail` resource methods. Run `gws gmail +send` or consult `gws gmail --help` after installing the `gws` binary and completing gws-shared authentication.

What does gws gmail +triage return?

gws-gmail's +triage helper prints an unread inbox summary listing sender, subject, and date for each message. Agents use it to prioritize replies without opening the Gmail web UI.

Is Gws Gmail safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.