Skip to content
Development
Skill

/gws-gmail

Gmail: Send, read, and manage email.

From plugin
cli
30k95 skills
Install
$ npx -y skills add googleworkspace/cli --skill gws-gmail --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/gws-gmail

Context preview

The summary Claude sees to decide when to auto-load this skill.

Gmail: Send, read, and manage email.

SKILL.md

gws-gmail.SKILL.md
name: gws-gmail
description: "Gmail: Send, read, and manage email."
metadata:
  version: 0.22.5
  openclaw:
    category: "productivity"
    requires:
      bins:
        - gws
    cliHelp: "gws gmail --help"

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

| Command | Description | |---------|-------------| | [`+send`](../gws-gmail-send/SKILL.md) | Send an email | | [`+triage`](../gws-gmail-triage/SKILL.md) | Show unread inbox summary (sender, subject, date) | | [`+reply`](../gws-gmail-reply/SKILL.md) | Reply to a message (handles threading automatically) | | [`+reply-all`](../gws-gmail-reply-all/SKILL.md) | Reply-all to a message (handles threading automatically) | | [`+forward`](../gws-gmail-forward/SKILL.md) | Forward a message to new recipients | | [`+read`](../gws-gmail-read/SKILL.md) | Read a message and extract its body or headers | | [`+watch`](../gws-gmail-watch/SKILL.md) | 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.

Read more
Ships withcli

Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.

Get the whole plugin
Stats
30,285
Stars
1,773
Forks
Active
Maintenance
Rust
Language
Apache-2.0
License
9d ago
Last commit
5mo ago
Created

Repo: googleworkspace/cli