360 Secure SkillHub
360 安全技能中心

Recipe Email Drive Link

核心功能:联动谷歌云端硬盘与Gmail,自动完成文件共享并向指定收件人发送含文件链接的邮件。典型场景:向客户、同事发送需共享的文档(如季度报告)。需先加载gws-drive、gws-gmail技能,输入文件名、收件人邮箱等参数,执行后完成文件权限配置并推送邮件。

googleworkspace-bot
googleworkspace-bot
热度 73.97
最近更新 2026-05-11 17:31:20
分类:自动化依赖:MCP 服务应用场景:邮件起草 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add recipe-email-drive-link
Metadata
name
recipe-email-drive-link
description
Share a Google Drive file and email the link with a message to recipients.
metadata
{"version":"0.22.5","openclaw":{"category":"recipe","domain":"productivity","requires":{"bins":["gws"],"skills":["gws-drive","gws-gmail"]}}}

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'