Skip to content

Gmail Assistant (gws)

Lets an agent send, read, triage, reply to and forward Gmail via the gws CLI

Stars
32,059
Licence
Apache-2.0
Files
1 file

What it does

This skill teaches an AI agent how to work with Gmail through the gws command-line tool. Once installed, the agent can summarise unread mail, read a message's body or headers, draft and send emails, reply or forward with threading handled automatically, and watch for new messages. It also points the agent to built-in help and schema commands so it can look up the exact options before acting.

Great for

  • People who want an assistant to triage and reply to a busy Gmail inbox
  • Developers automating Gmail tasks through the gws CLI
  • Users who already have gws installed and authenticated

Skip it if

  • Anyone uncomfortable with an agent sending email from their account without review, since sends are real and irreversible once delivered
  • Situations without the gws tool installed or authenticated, where the skill cannot run
  • Users who need a non-Gmail mail provider

Try asking

  • “Show me a summary of my unread emails from today”
  • “Reply to Sam's last message saying I can meet Thursday at 3pm”
  • “Forward the invoice from Acme to accounts@example.com”
  • “Watch my inbox and stream new emails as they arrive”
Step-by-step guide: how to use Gmail Assistant (gws)Install, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    gws-gmail.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip gws-gmail.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip gws-gmail.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Ask the agent to run gws schema for a method before sending, so parameters are checked first
  • Review drafts or recipients before confirming any send, reply-all or forward request
  • Start with read-only requests like triage to confirm the authentication setup works

What's inside

  • SKILL.md

Redistributed unmodified from googleworkspace/cli under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.