gws-gmail-send

Gmail: Send an email.

25 stars

Best use case

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

Gmail: Send an email.

Teams using gws-gmail-send 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-send/SKILL.md --create-dirs "https://raw.githubusercontent.com/ComeOnOliver/skillshub/main/skills/googleworkspace/cli/gws-gmail-send/SKILL.md"

Manual Installation

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

How gws-gmail-send Compares

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

Frequently Asked Questions

What does this skill do?

Gmail: Send an email.

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 +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

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--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 |

## 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
```

## 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.

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

## 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

webhook-sender-creator

25
from ComeOnOliver/skillshub

Webhook Sender Creator - Auto-activating skill for API Integration. Triggers on: webhook sender creator, webhook sender creator Part of the API Integration skill category.

teams-webhook-sender

25
from ComeOnOliver/skillshub

Teams Webhook Sender - Auto-activating skill for Business Automation. Triggers on: teams webhook sender, teams webhook sender Part of the Business Automation skill category.

recipe-send-team-announcement

25
from ComeOnOliver/skillshub

Send a team announcement via both Gmail and a Google Chat space.

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-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-read

25
from ComeOnOliver/skillshub

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

gws-gmail-forward

25
from ComeOnOliver/skillshub

Gmail: Forward a message to new recipients.

gws-chat-send

25
from ComeOnOliver/skillshub

Google Chat: Send a message to a space.

sendgrid-automation

25
from ComeOnOliver/skillshub

Automate SendGrid email operations including sending emails, managing contacts/lists, sender identities, templates, and analytics via Rube MCP (Composio). Always search tools first for current schemas.