360 Secure SkillHub
360 安全技能中心

recipe-create-vacation-responder

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

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

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add googleworkspace/cli/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}'