recipe-create-vacation-responder

$npx mdskill add googleworkspace/cli/recipe-create-vacation-responder

Enable a Gmail out-of-office auto-reply with custom message and date range.

  • Automates setting up a vacation responder in Gmail.
  • Depends on gws-gmail skill and Gmail API.
  • Uses predefined steps to enable, verify, and disable the responder.
  • Executes Gmail API commands to update and verify vacation settings.

SKILL.md

.github/skills/recipe-create-vacation-responderView on GitHub ↗
---
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 [email protected].", "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 from googleworkspace/cli