gws-gmail-send

Send Gmail emails from the command line with attachments and flags.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/vikingokft/vikingo-studio-skills --skill gws-gmail-send-vikingokft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-gmail-send
Source: https://github.com/vikingokft/vikingo-studio-skills/tree/main/google/gws-gmail-send
Command: npx skills add https://github.com/vikingokft/vikingo-studio-skills --skill gws-gmail-send-vikingokft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate sending emails from Gmail directly from the command line, reducing manual steps and enabling scripted notifications and reports.

Core Features & Use Cases

  • Send emails from the CLI with recipients, subject, body, and optional attachments, CC, and BCC.
  • Support HTML bodies and send-as aliases to accommodate different workflows.
  • Save as draft if you want to review before sending, and integrate with gws-shared authentication.

Quick Start

Invoke the gmail +send action with the required recipient, subject, and body to dispatch an email.

Frequently Asked Questions about gws-gmail-send

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send an email from the command line using Gmail?

You can automate sending Gmail messages from the CLI by invoking the send action with --to, --subject, and --body flags, including optional --attach, --cc, --bcc, --html, and --draft parameters for advanced workflows.

Can I send emails with attachments and HTML bodies via CLI automation?

Yes, CLI email automation supports sending HTML formatted content using the --html flag and including file attachments using the --attach flag, allowing you to compose rich messages with files directly from your scripts.

Does sending Gmail messages from the CLI require authentication?

Yes, sending Gmail messages from the CLI requires authentication, which is enforced through the gws-shared module to securely verify your account before dispatching any automated emails or drafts.

What is the best way to automate scripted Gmail notifications and reports?

Automating scripted Gmail notifications and reports is best handled by invoking the CLI send action within your scripts, passing dynamic values to --to, --subject, and --body flags to dispatch routine communications automatically.

Can I save a Gmail message as a draft from the CLI instead of sending it?

Yes, you can save a Gmail message as a draft from the CLI by using the --draft flag, allowing you to compose the recipient list, subject, body, and attachments for later review before final dispatch.