跳到正文
cccskills
免费在 GitHub 公开

gws-gmail

Gmail skill for sending, reading, searching, labelling, and managing email via the gws CLI. Covers messages, threads, labels, drafts, filters, and inbox management.

中文简介正在准备中。当前显示原文说明。

集成工具Gmail
查看安装方法

包含的文件(1)

  • SKILL.md4.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Gmail (gws-gmail)

PREREQUISITE: Read the gws-shared skill for auth, global flags, and security rules.

Manage Gmail using the gws CLI.

gws gmail <resource> <method> [flags]

Quick Examples

# Get Gmail profile
gws gmail users getProfile --params '{"userId": "me"}'

# List inbox messages (10 most recent)
gws gmail users messages list \
  --params '{"userId": "me", "labelIds": "INBOX", "maxResults": 10}'

# Search messages
gws gmail users messages list \
  --params '{"userId": "me", "q": "from:boss@example.com is:unread"}'

# Get a message (full format)
gws gmail users messages get \
  --params '{"userId": "me", "id": "MESSAGE_ID", "format": "full"}'

# Send an email (use +send helper for simplicity — see gws-gmail-send skill)
gws gmail users messages send \
  --params '{"userId": "me"}' \
  --json '{"raw": "<base64-encoded RFC 2822 message>"}'

# List labels
gws gmail users labels list --params '{"userId": "me"}'

# Create a label
gws gmail users labels create \
  --params '{"userId": "me"}' \
  --json '{"name": "Invoices", "labelListVisibility": "labelShow"}'

# Apply a label to a message
gws gmail users messages modify \
  --params '{"userId": "me", "id": "MESSAGE_ID"}' \
  --json '{"addLabelIds": ["LABEL_ID"]}'

# Archive a message (remove INBOX label)
gws gmail users messages modify \
  --params '{"userId": "me", "id": "MESSAGE_ID"}' \
  --json '{"removeLabelIds": ["INBOX"]}'

# Trash a message
gws gmail users messages trash \
  --params '{"userId": "me", "id": "MESSAGE_ID"}'

# Create a draft
gws gmail users drafts create \
  --params '{"userId": "me"}' \
  --json '{"message": {"raw": "<base64-encoded RFC 2822 message>"}}'

# List threads
gws gmail users threads list \
  --params '{"userId": "me", "q": "subject:\"Project Update\"", "maxResults": 5}'

# Get thread
gws gmail users threads get \
  --params '{"userId": "me", "id": "THREAD_ID"}'

# Create a Gmail filter (auto-label)
gws gmail users settings filters create \
  --params '{"userId": "me"}' \
  --json '{"criteria": {"from": "newsletter@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'

# Watch inbox for push notifications
gws gmail users watch \
  --params '{"userId": "me"}' \
  --json '{"topicName": "projects/my-project/topics/gmail-push", "labelIds": ["INBOX"]}'

Helper Commands

CommandDescription
gws gmail +sendSend an email (see gws-gmail-send skill)
gws gmail +triageShow unread inbox summary
gws gmail +replyReply to a message (threading handled automatically)
gws gmail +reply-allReply-all to a message
gws gmail +forwardForward a message
gws gmail +watchStream new emails as NDJSON

Gmail Query Syntax

is:unread                          Unread messages
is:starred                         Starred messages
from:user@example.com              From a specific sender
to:user@example.com                To a recipient
subject:invoice                    Subject contains word
has:attachment                     Has file attachments
larger:5M                          Larger than 5 MB
after:2026/01/01                   Received after date
before:2026/03/01                  Received before date
label:work                         Has label "work"
-label:spam                        Does not have label "spam"

Key API Resources

users.messages

list, get, send, modify, trash, delete, batchModify

users.threads

list, get, modify, trash, delete

users.labels

list, get, create, update, delete

users.drafts

list, get, create, update, send, delete

users.settings.filters

list, get, create, delete

Discovering More

gws gmail --help
gws schema gmail.users.messages.list
gws schema gmail.users.messages.send

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

中文简介正在准备中。当前显示原文说明。

nvdigitalsolutions/mcp-ai-wpoos72026年10月22日 更新

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

中文简介正在准备中。当前显示原文说明。

nvdigitalsolutions/mcp-ai-wpoos72026年10月22日 更新

Control a headless browser to navigate URLs, click elements, fill forms, extract content from JavaScript-rendered pages, take screenshots, and automate end-to-end web workflows.

中文简介正在准备中。当前显示原文说明。

nvdigitalsolutions/mcp-ai-wpoos72026年10月22日 更新

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

中文简介正在准备中。当前显示原文说明。

nvdigitalsolutions/mcp-ai-wpoos72026年10月22日 更新

Review code for quality, simplicity, and maintainability. Identifies unnecessary abstractions, duplicated logic, oversized functions, missing error handling, and naming issues — then fixes them automatically before presenting the result.

中文简介正在准备中。当前显示原文说明。

nvdigitalsolutions/mcp-ai-wpoos72026年10月22日 更新

WooCommerce store operations through NV oOS Pro — product research, catalog cross-referencing, inventory lookups, and Shopify or Flowhub comparisons where integrations are configured.

中文简介正在准备中。当前显示原文说明。

nvdigitalsolutions/mcp-ai-wpoos72026年10月22日 更新

查看 nvdigitalsolutions 的全部技能

报告此技能的问题