gws-gmail-send

Gmail: Send an email.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gws-gmail-send" with this command: npx skills add googleworkspace/cli/googleworkspace-cli-gws-gmail-send

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

FlagRequiredDefaultDescription
--toRecipient email address(es), comma-separated
--subjectEmail subject
--bodyEmail body (plain text, or HTML with --html)
--ccCC email address(es), comma-separated
--bccBCC email address(es), comma-separated
--htmlTreat --body as HTML content (default is plain text)
--dry-runShow the request that would be sent without executing it

Examples

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 'Hi!' --bcc secret@example.com
gws gmail +send --to alice@example.com --subject 'Hello' --body '<b>Bold</b> text' --html

Tips

  • Handles RFC 2822 formatting and base64 encoding automatically.
  • For attachments, use the raw API instead: gws gmail users messages send --json '...'

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

See Also

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

gws-gmail

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

gws-drive

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

gws-calendar

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

gws-docs

No summary provided by upstream source.

Repository SourceNeeds Review