Skip to content
Skillpedia
PDF, Word & slides32k Β· #9174

gws-gmail

What it does

This agent helps you manage your Gmail emails. You can send, read, reply to, and organize your messages.

When to use it

  • βœ“When you need to send an email quickly.
  • βœ“To see a summary of unread emails.
  • βœ“To reply to or forward important messages.

Skill link

https://github.com/googleworkspace/cli/blob/main/skills/gws-gmail/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/googleworkspace/cli/blob/main/skills/gws-gmail/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œSend an email to john.doe@email.com with the subject 'Meeting' and say the meeting is postponed to tomorrow.”

5 new skills a week. 1 minute to read.

How it works

It connects to your Gmail account to perform the actions you request. You tell it what you want to do, like send or read an email, and it executes.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

gmail (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws gmail <resource> <method> [flags]

Helper Commands

Command Description
+send Send an email
+triage Show unread inbox summary (sender, subject, date)
+reply Reply to a message (handles threading automatically)
+reply-all Reply-all to a message (handles threading automatically)
+forward Forward a message to new recipients
+read Read a message and extract its body or headers
+watch Watch for new emails and stream them as NDJSON

API Resources

users

  • getProfile β€” Gets the current user's Gmail profile.
  • stop β€” Stop receiving push notifications for the given user mailbox.
  • watch β€” Set up or update a push notification watch on the given user mailbox.
  • drafts β€” Operations on the 'drafts' resource
  • history β€” Operations on the 'history' resource
  • labels β€” Operations on the 'labels' resource
  • messages β€” Operations on the 'messages' resource
  • settings β€” Operations on the 'settings' resource
  • threads β€” Operations on the 'threads' resource

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws gmail --help

# Inspect a method's required params, types, and defaults
gws schema gmail.<resource>.<method>

Use gws schema output to build your --params and --json flags.

FAQ

How does the agent know which email to read or reply to?

You can specify the exact email by sender, subject, or date, or the agent can focus on unread emails.

Do I need to worry about my account security?

The agent follows security rules and only accesses what's necessary to perform the requested task, after your authorization.

Can I organize my emails with it?

Yes, you can use commands to read emails, see summaries, and even manage drafts or label them.

Details

Original description by the author

Gmail: Send, read, and manage email.

repo: googleworkspace/cli

Popularity

GitHub stars
32k
Ranking position
#9174
License
Apache-2.0
Updated
10/6/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills