recipe-create-vacation-responder

recipe-create-vacation-responder

熱門

啟用 Gmail 休假自動回覆,包含自訂訊息與日期範圍。

2.9萬星標
1669分支
更新於 2026/3/31
SKILL.md
readonlyread-only
name
recipe-create-vacation-responder
description

啟用 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}'