跳到正文
Skillpedia
PDF、Word 与幻灯片32k · #9174

gws-gmail

它能做什么

这个代理可以帮你管理 Gmail 邮件,包括发送、阅读、回复和整理邮件。

适用场景

  • ✓当你需要快速发一封邮件时。
  • ✓当你想查看未读邮件的摘要时。
  • ✓当你需要回复或转发重要邮件时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/googleworkspace/cli/blob/main/skills/gws-gmail/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“给 john.doe@email.com 发一封主题为“会议”的邮件,告诉对方会议推迟到明天。”

每周 5 个新技能,1 分钟读完。

工作原理

它会连接到你的 Gmail 账户来完成你要求的操作。你告诉它要做什么,比如发送或阅读邮件,它就会去执行。

技术内容(原始 SKILL.md)

作者在 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.

常见问题

代理怎么知道要读取或回复哪封邮件?

你可以通过发件人、主题或日期指定具体的邮件,也可以让它只关注未读邮件。

我需要担心账户安全吗?

这个代理会遵守安全规则,只会在你授权后访问完成任务所必需的内容。

能用它整理邮件吗?

可以。你可以用命令阅读邮件、查看摘要,甚至管理草稿或给邮件打标签。

详情

作者的原始描述

Gmail: Send, read, and manage email.

repo: googleworkspace/cli

热度

GitHub 星标
32k
排名
#9174
许可证
Apache-2.0
更新时间
2026/10/6

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能