gws-gmail-send
SolidGmail: Send an email.
AI & Automation 26,697 stars
1403 forks Updated 2 weeks ago Apache-2.0
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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 |
| `--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
...
Details
- Author
- googleworkspace
- Repository
- googleworkspace/cli
- Created
- 2 months ago
- Last Updated
- 2 weeks ago
- Language
- Rust
- License
- Apache-2.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
Web & Frontend Listed
gws-gmail-send
This skill should be used when the user says "send an email", "email someone", "compose a message", "write an email to", "send a Gmail", "draft and send", or wants to send a new outbound email through Gmail. Covers recipients, subject, body, CC/BCC, attachments, HTML content, and send-as aliases.
3 Updated 2 days ago
radesjardins AI & Automation Solid
gws-gmail-reply
Gmail: Reply to a message (handles threading automatically).
26,697 Updated 2 weeks ago
googleworkspace AI & Automation Solid
gws-gmail-forward
Gmail: Forward a message to new recipients.
26,697 Updated 2 weeks ago
googleworkspace AI & Automation Listed
gws-gmail
Gmail: Send, read, and manage email.
21 Updated 4 days ago
project-nomos AI & Automation Solid
gws-gmail-reply-all
Gmail: Reply-all to a message (handles threading automatically).
26,697 Updated 2 weeks ago
googleworkspace