SKILL.md
只读
名称
recipe-create-vacation-responder
描述
启用 Gmail 的休假自动回复功能,可自定义消息和日期范围。
设置 Gmail 休假回复
前提条件: 加载以下技能以执行此操作:
gws-gmail
启用 Gmail 的休假自动回复功能,可自定义消息和日期范围。
步骤
- 启用休假回复:
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}' - 验证设置:
gws gmail users settings getVacation --params '{"userId": "me"}' - 返回后禁用:
gws gmail users settings updateVacation --params '{"userId": "me"}' --json '{"enableAutoReply": false}'






