Agent skill

Gws Gmail Send

by googleworkspace in googleworkspace/cli

“Gmail: Send an email.”

— description from SKILL.md by googleworkspace
Apache-2.0Auto-check passedProductivity & Automation

Install Gws Gmail Send

skills CLI
$ npx skills add googleworkspace/cli --skill gws-gmail-send -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install googleworkspace/cli gws-gmail-send --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/googleworkspace/cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/gws-gmail-send .claude/skills/gws-gmail-send && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gws-gmail-send
GitHub stars
31k
Used in
1 other repo
Token cost
~645 tokens
SKILL.md length
198 words
Files
1
Skills in repo
77
Repo updated
First seen
Licence
Apache-2.0

At a glance

  • SKILL.md covers Usage, Flags, Examples and Tips, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Gws Gmail Send is a skill in googleworkspace/cli (31k stars). Its SKILL.md is about 645 tokens, and copies of it appear in 1 other owners' repositories. Licence: Apache-2.0.

What it can do on your machine

Read from SKILL.md and the folder at commit a3768d0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gws Gmail Send loads about 645 tokens when it runs. Until then it costs about 9 tokens; SKILL.md has 198 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~9
When it runs · the whole SKILL.md, loaded when a task matches
~645

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from googleworkspace/cli at commit a3768d0, republished under its Apache-2.0 licence (© googleworkspace). 198 words, ~645 tokens.

Download SKILL.mdSave it as .claude/skills/gws-gmail-send/SKILL.md (or your agent's skills folder).
name
gws-gmail-send
description
Gmail: Send an email.
metadata.version
0.22.5

gmail +send

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

Send an email

Usage

bash
gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT>

Flags

FlagRequiredDefaultDescription
--to✓—Recipient email address(es), comma-separated
--subject✓—Email subject
--body✓—Email body (plain text, or HTML with --html)
--from——Sender address (for send-as/alias; omit to use account default)
--attach——Attach a file (can be specified multiple times)
--cc——CC email address(es), comma-separated
--bcc——BCC email address(es), comma-separated
--html——Treat --body as HTML content (default is plain text)
--dry-run——Show the request that would be sent without executing it
--draft——Save as draft instead of sending

Examples

bash
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi Alice!'
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --cc bob@example.com
gws gmail +send --to alice@example.com --subject 'Hello' --body '<b>Bold</b> text' --html
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --from alias@example.com
gws gmail +send --to alice@example.com --subject 'Report' --body 'See attached' -a report.pdf
gws gmail +send --to alice@example.com --subject 'Files' --body 'Two files' -a a.pdf -a b.csv
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --draft

Tips

  • Handles RFC 5322 formatting, MIME encoding, and base64 automatically.
  • Use --from to send from a configured send-as alias instead of your primary address.
  • Use -a/--attach to add file attachments. Can be specified multiple times. Total size limit: 25MB.
  • With --html, use fragment tags (<p>, <b>, <a>, <br>, etc.) — no <html>/<body> wrapper needed.
  • Use --draft to save the message as a draft instead of sending it immediately.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

© googleworkspace, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/gws-gmail-send of googleworkspace/cli.

Open the folder on GitHubat commit a3768d0

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in googleworkspace/cli, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Gws Gmail Send next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gws Gmail Send compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gws Gmail Send this skillgoogleworkspace/cli31k1 repos~645Automated safety check: PassApache-2.0
Google Workspaceyc-software/qm15k—~1.8kAutomated safety check: PassMIT
Gogtrpc-group/trpc-agent-go1.9k15 repos~1.1kAutomated safety check: PassApache-2.0
Gmail Query Syntaxprovos/ironcurtain612—~971Automated safety check: PassApache-2.0
Email Assistantappleweiping/WEIPING_WIKI119—~1.3kAutomated safety check: PassMIT
Googleletta-ai/lettabot327—~774Automated safety check: NotesApache-2.0

Similar skills

  • Google Workspace

    yc-software/qm

    Read and act on the user's Gmail, Google Calendar, and Google Tasks through per-user OAuth.

    15k GitHub stars~1.8k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Gog

    trpc-group/trpc-agent-go

    Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

    1.9k GitHub starsUsed in 15 repos~1.1k tokens
    Productivity & AutomationAuto-check passed
  • Gmail Query Syntax

    provos/ironcurtain

    Reference for Gmail's search query syntax — operators like is:sent, newerthan:, from:, has:attachment, label:, and how they compose.

    612 GitHub stars~971 tokensUpdated 2 days ago
    Productivity & AutomationAuto-check passed
  • Email Assistant

    appleweiping/WEIPING_WIKI

    Personal Gmail and Google Workspace email assistant for Vipin.

    119 GitHub stars~1.3k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed
  • Google

    letta-ai/lettabot

    Google Workspace CLI (gog) for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

    327 GitHub stars~774 tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check: notes
  • Gsuite Setup

    swyxio/skills

    Configure or audit Google Workspace (formerly G Suite) organization settings for open collaboration, user autonomy, external sharing, Groups privacy, Gmail delegation, Calendar, Meet, Chat, Drive…

    175 GitHub stars~951 tokensUpdated 4 days ago
    Productivity & AutomationAuto-check passed

More from googleworkspace/cli

All 77 skills in this repo
  • Gmail Inbox Watcher

    googleworkspace/cli

    Streams new Gmail messages as NDJSON from the gws command line tool using Google Pub/Sub, with label filters, batch settings and optional per-message files.

    31k GitHub starsUsed in 1 repo~476 tokens
    Auto-check passed
  • Workspace Events Subscribe

    googleworkspace/cli

    Subscribes to Google Workspace events with the gws CLI and streams them as NDJSON, with flags for the target resource, event types, Pub/Sub project and output directory.

    31k GitHub stars~509 tokensUpdated 2 days ago
    Auto-check passed
  • Gmail Message Forwarder

    googleworkspace/cli

    Forwards an existing Gmail message to new recipients from the command line with the gws CLI, with options for notes, attachments, CC, BCC and drafts.

    31k GitHub stars~763 tokensUpdated 2 days ago
    Auto-check passed
  • Gmail Reply via gws

    googleworkspace/cli

    Replies to a Gmail message from the gws CLI with automatic threading, plus CC, BCC, extra recipients, attachments, HTML bodies and draft or dry-run modes.

    31k GitHub stars~655 tokensUpdated 2 days ago
    Auto-check passed
  • Gws Calendar Agenda

    googleworkspace/cli

    Google Calendar: Show upcoming events across all calendars. An agent skill from googleworkspace/cli.

    31k GitHub starsUsed in 1 repo~389 tokens
    Auto-check passed
  • Gmail Reply-All Command

    googleworkspace/cli

    Replies to everyone on a Gmail message through the gws CLI, with threading handled automatically, options to add or drop recipients, and a draft mode.

    31k GitHub stars~736 tokensUpdated 2 days ago
    Auto-check passed

Questions about Gws Gmail Send

How do I install Gws Gmail Send in Claude Code?

Run `npx skills add googleworkspace/cli --skill gws-gmail-send -a claude-code`. Or copy the skill folder (skills/gws-gmail-send in googleworkspace/cli) into .claude/skills/gws-gmail-send in your project. Claude Code loads it when a task matches its description.

How do I install Gws Gmail Send in Codex?

Run `npx skills add googleworkspace/cli --skill gws-gmail-send -a codex`. Or copy the skill folder (skills/gws-gmail-send in googleworkspace/cli) into .agents/skills/gws-gmail-send in your project. Codex loads it when a task matches its description.

Can I use Gws Gmail Send in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add googleworkspace/cli --skill gws-gmail-send -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gws-gmail-send, .gemini/skills/gws-gmail-send, .github/skills/gws-gmail-send and .opencode/skills/gws-gmail-send in your project.

What does Gws Gmail Send need to run?

SKILL.md names no scripts, command-line tools or credentials: Gws Gmail Send is instructions for the agent only.

Does Gws Gmail Send access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gws Gmail Send safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gws Gmail Send use?

Gws Gmail Send is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gws Gmail Send use?

About 645 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gws Gmail Send?

Skills that share tags, products or a category with Gws Gmail Send: Google Workspace (yc-software/qm, 15k stars), Gog (trpc-group/trpc-agent-go, 1.9k stars), Gmail Query Syntax (provos/ironcurtain, 612 stars) and Email Assistant (appleweiping/WEIPING_WIKI, 119 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gws Gmail Send?

googleworkspace (a GitHub organization) maintains it in googleworkspace/cli, which has 31,280 GitHub stars. The repository holds 77 skills in this directory. The repository was last updated on October 6, 2026.

Source: googleworkspace/cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.