gws-gmail-send
Installation
Summary
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
--attachflags - Supports both plain text and HTML email bodies; HTML fragments do not require wrapper tags
- Includes
--dry-runflag to preview the request before sending, and automatic RFC 5322 formatting and MIME encoding
SKILL.md
gmail +send
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Send an email
Usage
gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT>