gws-gmail-read

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

25 stars

Best use case

gws-gmail-read is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using gws-gmail-read should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/gws-gmail-read/SKILL.md --create-dirs "https://raw.githubusercontent.com/ComeOnOliver/skillshub/main/skills/googleworkspace/cli/gws-gmail-read/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/gws-gmail-read/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How gws-gmail-read Compares

Feature / Agentgws-gmail-readStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

```bash
gws gmail +read --id <ID>
```

## Flags

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

## Examples

```bash
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](../gws-shared/SKILL.md) — Global flags and auth
- [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands

Related Skills

thread-dump-analyzer

25
from ComeOnOliver/skillshub

Thread Dump Analyzer - Auto-activating skill for Performance Testing. Triggers on: thread dump analyzer, thread dump analyzer Part of the Performance Testing skill category.

readme-generator

25
from ComeOnOliver/skillshub

Readme Generator - Auto-activating skill for DevOps Basics. Triggers on: readme generator, readme generator Part of the DevOps Basics skill category.

recipe-create-gmail-filter

25
from ComeOnOliver/skillshub

Create a Gmail filter to automatically label, star, or categorize incoming messages.

gws-gmail-watch

25
from ComeOnOliver/skillshub

Gmail: Watch for new emails and stream them as NDJSON.

gws-gmail-triage

25
from ComeOnOliver/skillshub

Gmail: Show unread inbox summary (sender, subject, date).

gws-gmail-send

25
from ComeOnOliver/skillshub

Gmail: Send an email.

gws-gmail-reply

25
from ComeOnOliver/skillshub

Gmail: Reply to a message (handles threading automatically).

gws-gmail-reply-all

25
from ComeOnOliver/skillshub

Gmail: Reply-all to a message (handles threading automatically).

gws-gmail-forward

25
from ComeOnOliver/skillshub

Gmail: Forward a message to new recipients.

readme-blueprint-generator

25
from ComeOnOliver/skillshub

Intelligent README.md generation prompt that analyzes project documentation structure and creates comprehensive repository documentation. Scans .github/copilot directory files and copilot-instructions.md to extract project information, technology stack, architecture, development workflow, coding standards, and testing approaches while generating well-structured markdown documentation with proper formatting, cross-references, and developer-focused content.

create-readme

25
from ComeOnOliver/skillshub

Create a README.md file for the project

twitter-reader

25
from ComeOnOliver/skillshub

Fetch Twitter/X post content by URL using jina.ai API to bypass JavaScript restrictions. Use when Claude needs to retrieve tweet content including author, timestamp, post text, images, and thread replies. Supports individual posts or batch fetching from x.com or twitter.com URLs.