General 2,342 installs

gws-gmail-send

by googleworkspace/cli

Gmail: Send an email.

Skill content

Send emails via Gmail with support for attachments, HTML formatting, and send-as aliases.

- Requires recipient email(s), subject, and body text; supports CC, BCC, and optional sender address for send-as aliases

- Handles file attachments up to 25MB total, with multiple files supported via repeated --attach flags

- Supports both plain text and HTML email bodies; HTML fragments do not require wrapper tags

- Includes --dry-run flag to preview the request before sending, and automatic RFC 5322 formatting and MIME encoding

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

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

Flags