googleworkspace avatar

Recipe Create Vacation Responder

googleworkspace/cli
20.2k

This skill enables users to set up a Gmail out-of-office vacation responder with a custom message and date range, streamlining the management of automatic replies. It provides key capabilities such as enabling, verifying, and disabling the vacation responder through structured commands, making it suitable for individuals managing their Gmail accounts or integrating such functionality within automation workflows. Designed for both users and AI agents, it simplifies the process of handling out-of-office notifications efficiently within Google Workspace.

npx skills add https://github.com/googleworkspace/cli --skill recipe-create-vacation-responder

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

GitHub Owner

Owner: googleworkspace

SKILL.md


name: recipe-create-vacation-responder version: 1.0.0 description: "Enable a Gmail out-of-office auto-reply with a custom message and date range." metadata: 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}'

More skills