360 Secure SkillHub
360 安全技能中心

Recipe Create Vacation Responder

该 Skill 是一条 recipe,说明如何使用 gws CLI 调用 Gmail 设置接口启用休假自动回复,填写回复主题与正文并可选限制范围;随后查询验证设置,休假结束后再关闭自动回复。执行前需加载 gws-gmail 技能。

googleworkspace-bot
googleworkspace-bot
热度 56.17
最近更新 2026-05-11 17:31:20
分类:协作依赖:第三方 API / 代码执行应用场景:邮件起草 / 自动化脚本

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add recipe-create-vacation-responder
Metadata
name
recipe-create-vacation-responder
description
Enable a Gmail out-of-office auto-reply with a custom message and date range.
metadata
{"version":"0.22.5","openclaw":{"category":"recipe","domain":"productivity","requires":{"bins":["gws"],"skills":["gws-gmail"]}}}

Set Up a Gmail Vacation Responder

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

Enable a Gmail out-of-office auto-reply with a custom message and date range.

Steps

  1. Enable vacation responder: gws gmail users settings updateVacation --params '{"userId": "me"}' --json '{"enableAutoReply": true, "responseSubject": "Out of Office", "responseBodyPlainText": "I am out of the office until Jan 20. For urgent matters, contact backup@company.com.", "restrictToContacts": false, "restrictToDomain": false}'
  2. Verify settings: gws gmail users settings getVacation --params '{"userId": "me"}'
  3. Disable when back: gws gmail users settings updateVacation --params '{"userId": "me"}' --json '{"enableAutoReply": false}'