install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/googleworkspace/cli/gws-gmail" ~/.claude/skills/comeonoliver-skillshub-gws-gmail-addbbc && rm -rf "$T"
manifest:
skills/googleworkspace/cli/gws-gmail/SKILL.mdsource content
gmail (v1)
PREREQUISITE: Read
for auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
gws gmail <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
| Send an email |
| Show unread inbox summary (sender, subject, date) |
| Reply to a message (handles threading automatically) |
| Reply-all to a message (handles threading automatically) |
| Forward a message to new recipients |
| Read a message and extract its body or headers |
| Watch for new emails and stream them as NDJSON |
API Resources
users
— Gets the current user's Gmail profile.getProfile
— Stop receiving push notifications for the given user mailbox.stop
— Set up or update a push notification watch on the given user mailbox.watch
— Operations on the 'drafts' resourcedrafts
— Operations on the 'history' resourcehistory
— Operations on the 'labels' resourcelabels
— Operations on the 'messages' resourcemessages
— Operations on the 'settings' resourcesettings
— Operations on the 'threads' resourcethreads
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.