agentleFS
googleworkspacegoogleworkspace/cli/skills/gws-gmail-read/SKILL.md

gws-gmail-read

Skill32k starsChanged 2 days agoApache-2.0View on GitHub

Gmail: Read a message and extract its body or headers.

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read a message and extract its body or headers

    line 18

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

gmail +read

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

Read a message and extract its body or headers

Usage

gws gmail +read --id <ID>

Flags

FlagRequiredDefaultDescription
--id✓—The Gmail message ID to read
--headers——Include headers (From, To, Subject, Date) in the output
--format—textOutput format (text, json)
--html——Return HTML body instead of plain text
--dry-run——Show the request that would be sent without executing it

Examples

gws gmail +read --id 18f1a2b3c4d
gws gmail +read --id 18f1a2b3c4d --headers
gws gmail +read --id 18f1a2b3c4d --format json | jq '.body'

Tips

  • Converts HTML-only messages to plain text automatically.
  • Handles multipart/alternative and base64 decoding.

See Also

  • gws-shared — Global flags and auth
  • gws-gmail — All send, read, and manage email commands

Download now (ZIP)

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 56 mentionsApr 2026: 8 mentionsMay 2026: 12 mentionsJun 2026: 9 mentionsJul 2026: 9 mentionsAug 2026: 4 mentionsSep 2026: 17 mentionsOct 2026: 6 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the googleworkspace/cli repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about googleworkspace/cli

The biggest 5 of 121 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 121

Talked about on GitHub, Bluesky, YouTube, the web and Hacker News (121 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 39

34 more on Bluesky

On YouTube · 23

18 more on YouTube

On Hacker News · 4

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.