跳到正文
Skillpedia
写作32k · #9239

recipe-save-email-to-doc

它能做什么

这个助手可以把 Gmail 邮件的内容保存到一个 Google 文档里,方便你留存重要信息,以后随时查看。

适用场景

  • ✓收到需要保存的重要信息邮件时。
  • ✓想把领导或同事发来的重要邮件存档时。
  • ✓想在收件箱之外保留一份邮件副本时。

技能链接

https://github.com/googleworkspace/cli/blob/main/skills/recipe-save-email-to-doc/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“把主题为“Important Update”的领导邮件保存到一个文档里。”

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

工作原理

它会先找到你想要的邮件,然后读取邮件正文,最后新建一个 Google 文档,把这段文字粘贴进去。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Save a Gmail Message to Google Docs

PREREQUISITE: Load the following skills to execute this recipe: gws-gmail, gws-docs

Save a Gmail message body into a Google Doc for archival or reference.

Steps

  1. Find the message: gws gmail users messages list --params '{"userId": "me", "q": "subject:important from:boss@company.com"}' --format table
  2. Get message content: gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}'
  3. Create a doc with the content: gws docs documents create --json '{"title": "Saved Email - Important Update"}'
  4. Write the email body: `gws docs +write --document-id DOC_ID --text 'From: boss@company.com Subject: Important Update

[EMAIL BODY]'`

常见问题

我需要先安装 Gmail 和 Google 文档吗?

需要。你要先准备好 Gmail 和 Google 文档这两个工具,才能正常使用。

我可以自己选择文档名称吗?

可以。助手会自动生成一个默认名称,你也可以让它改用别的名字。

它会把附件也保存进去吗?

不会。这个助手只保存邮件正文中的文字。

详情

作者的原始描述

Save a Gmail message body into a Google Doc for archival or reference.

repo: googleworkspace/cli

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能