google-gmail

Automate Gmail send, reply, triage, and stream operations via the gws CLI.

1|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/leolionart/claude-skills --skill google-gmail
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-gmail
Source: https://github.com/leolionart/claude-skills/tree/main/plugins/google-gmail/skills/google-gmail
Command: npx skills add https://github.com/leolionart/claude-skills --skill google-gmail

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables streamlined Gmail operations via the Google Workspace CLI (gws), allowing you to send messages, manage threaded replies, triage inboxes, and stream new mail for automation workflows.

Core Features & Use Cases

  • Send emails with optional CC/BCC, subject and body, preserving threading when needed
  • Reply, reply-all, and forward while maintaining correct conversation threads
  • Triage inbox to surface unread messages and key summaries
  • Stream new emails in real-time for automation pipelines
  • Discover and read specific messages using Gmail API access

Quick Start

Install and authenticate the gws CLI, then run a sample send or watch command to verify everything works.

Frequently Asked Questions about google-gmail

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

FAQPage Schema
How do I automate sending emails through Gmail in an automation pipeline?

You can automate sending Gmail messages by using the Google Workspace CLI to send emails with optional CC/BCC, subject, and body, which is ideal for outbound email automation pipelines. The skill handles message dispatch directly via the gws CLI.

Can I maintain conversation threads when automating Gmail replies?

Yes, automating thread-aware Gmail replies is fully supported. You can reply, reply-all, and forward messages while maintaining correct conversation threads, ensuring that automated responses stay properly linked within the original email discussions.

What is the best way to triage unread messages in a Gmail inbox?

Triage unread Gmail messages by applying the gws CLI to surface unread items and generate key inbox summaries. This allows automation pipelines to efficiently process and categorize incoming mail without manual review.

Does streaming new Gmail messages require specific authentication or scopes?

Yes, streaming new Gmail messages requires the gws CLI with proper authentication and appropriate Gmail scopes to access mail data. You must configure these access permissions to perform real-time email streaming and actions.

How do I watch for new emails in real-time for workflow automation?

You can watch for new emails in real-time by using the gws CLI to stream new Gmail messages directly into your automation pipelines. This real-time email streaming enables immediate processing of incoming mail events.

Are there limitations when using the Google Workspace CLI for Gmail automation?

The primary limitation of using the gws CLI for Gmail automation is the strict dependency on proper authentication and appropriate Gmail scopes. Without correctly configured access permissions, the CLI cannot interact with mail data to perform actions.