360 Secure SkillHub
360 安全技能中心

recipe-draft-email-from-doc

该 Skill 通过 gws 命令行读取指定 Google Doc 的正文,再以该内容作为 Gmail 邮件正文发送给收件人;需要预先加载 gws-docs 与 gws-gmail 技能,并具备对应 Google 服务访问权限。

分类:协作
googleworkspace
热度 72.53
最近更新 2026-10-18 17:15:30

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add googleworkspace/cli/recipe-draft-email-from-doc
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
recipe-draft-email-from-doc
description
Read content from a Google Doc and use it as the body of a Gmail message.
metadata
{"version":"0.22.5","openclaw":{"category":"recipe","domain":"productivity","requires":{"bins":["gws"],"skills":["gws-docs","gws-gmail"]}}}

Draft a Gmail Message from a Google Doc

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

Read content from a Google Doc and use it as the body of a Gmail message.

Steps

  1. Get the document content: gws docs documents get --params '{"documentId": "DOC_ID"}'
  2. Copy the text from the body content
  3. Send the email: gws gmail +send --to recipient@example.com --subject 'Newsletter Update' --body 'CONTENT_FROM_DOC'