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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
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.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto 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' resourcehistoryβ Operations on the 'history' resourcelabelsβ Operations on the 'labels' resourcemessagesβ Operations on the 'messages' resourcesettingsβ Operations on the 'settings' resourcethreadsβ 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
Popularity
- GitHub stars
- 32k
- Ranking position
- #9174
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- β¦
More skills from this repository
gws-admin-reports
32kHelps your agent get activity reports from Google Workspace. It collects audit and usage data.
gws-calendar-agenda
32kHelps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
gws-calendar-insert
32kLets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
gws-calendar
32kAllows your agent to manage calendars and events. It's useful for organizing your life and work.
Similar skills
feishu-doc
394kHelps your agent read, create, and edit Feishu cloud documents, including text, images, and tables, using the document tool.
feishu-drive
394kLets your agent browse, organize, and comment on files in a Feishu cloud folder that has been shared with the bot.
feishu-perm
394kHelps your agent check and change who can access a Feishu file, choosing the smallest permission that meets your request.