recipe-create-vacation-responder

recipe-create-vacation-responder

热门

启用 Gmail 的休假自动回复功能,可自定义消息和日期范围。

2.9万Star
1669Fork
更新于 2026/3/31
SKILL.md
只读
名称
recipe-create-vacation-responder
描述

启用 Gmail 的休假自动回复功能,可自定义消息和日期范围。

设置 Gmail 休假回复

前提条件: 加载以下技能以执行此操作:gws-gmail

启用 Gmail 的休假自动回复功能,可自定义消息和日期范围。

步骤

  1. 启用休假回复: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. 验证设置:gws gmail users settings getVacation --params '{"userId": "me"}'
  3. 返回后禁用:gws gmail users settings updateVacation --params '{"userId": "me"}' --json '{"enableAutoReply": false}'