跳到正文
Skillpedia
邮件与消息32k · #9225

recipe-email-drive-link

它能做什么

这个工具可以通过邮件,把 Google Drive 文件的链接发给你选择的任何人。它会找到文件、把权限分享给对应的人,并附上留言一起发送链接。

适用场景

  • ✓想和同事分享一份重要文档时。
  • ✓需要把报告发给客户时。
  • ✓给朋友或家人发送文件时。

技能链接

https://github.com/googleworkspace/cli/blob/main/skills/recipe-email-drive-link/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“把季度报告发给约翰。”

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

工作原理

这个工具会先在 Google Drive 中查找你要的文件,然后让你选择的人可以查看该文件,最后发送一封附有文件直接链接的邮件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Email a Google Drive File Link

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

Share a Google Drive file and email the link with a message to recipients.

Steps

  1. Find the file: gws drive files list --params '{"q": "name = '\''Quarterly Report'\''"}'
  2. Share the file: gws drive permissions create --params '{"fileId": "FILE_ID"}' --json '{"role": "reader", "type": "user", "emailAddress": "client@example.com"}'
  3. Email the link: gws gmail +send --to client@example.com --subject 'Quarterly Report' --body 'Hi, please find the report here: https://docs.google.com/document/d/FILE_ID'
常见问题

我需要有 Google Drive 和 Gmail 吗?

需要。你需要用 Google Drive 存放文件,并用 Gmail 发送邮件。

可以一次发给多个人吗?

可以,你可以添加多个邮箱地址,把链接发给所有人。

如果找不到文件会怎样?

如果工具找不到文件,会告诉你。请确认文件名称是否正确。

详情

作者的原始描述

Share a Google Drive file and email the link with a message to recipients.

repo: googleworkspace/cli

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能