recipe-create-vacation-responder
googleworkspace/cli
Set up Gmail out-of-office auto-replies with custom messages and date ranges.
What is recipe-create-vacation-responder?
This recipe enables a Gmail vacation responder that automatically replies to incoming emails while you're away. Use it to set a custom out-of-office message, define the response period, and control who receives the auto-reply.
- Enable Gmail vacation responder with a single command
- Customize auto-reply subject and message body
- Set response scope (all contacts or domain-restricted)
- Verify vacation responder settings
- Disable auto-reply when returning to the office
How to install recipe-create-vacation-responder
npx skills add null --skill recipe-create-vacation-responder- gws-gmail skill must be installed
How to use recipe-create-vacation-responder
- 1.Run the enable command with your custom response subject and message body, specifying whether to restrict replies to contacts or domain
- 2.Verify the vacation responder is active using the getVacation command
- 3.When returning, run the disable command to turn off auto-replies
Use cases
- Set up an out-of-office message before a vacation or leave
- Configure auto-replies for extended absences with contact information for urgent matters
- Quickly disable vacation responder upon returning to work
- Verify that vacation settings are correctly applied to your account
- Gmail users managing email during time off
- Teams coordinating coverage during employee absences
- Anyone needing to set automatic out-of-office responses
recipe-create-vacation-responder FAQ
The recipe does not include date range parameters in the provided commands. You may need to manually set dates in Gmail settings or extend the command with additional date parameters if supported by the gws API.
By default, all senders receive the auto-reply. Use restrictToContacts or restrictToDomain flags to limit responses to specific contacts or your domain.
Yes, run the updateVacation command again with new responseSubject and responseBodyPlainText values.
Emails are still delivered to your inbox; the vacation responder only sends an automatic reply to the sender.
Full instructions (SKILL.md)
Source of truth, from googleworkspace/cli.
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
- 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}' - Verify settings:
gws gmail users settings getVacation --params '{"userId": "me"}' - Disable when back:
gws gmail users settings updateVacation --params '{"userId": "me"}' --json '{"enableAutoReply": false}'
Related skills
More from googleworkspace/cli and the wider catalog.
gws-gmail
Send, read, and manage Gmail emails via Google Workspace CLI.
gws-drive
Manage Google Drive files, folders, and shared drives via CLI.
gws-docs
Read and write Google Docs via command line.
gws-calendar
Manage Google Calendar events, calendars, and access control via CLI.
gws-sheets
Read and write Google Sheets spreadsheets via CLI.
gws-gmail-send
Send emails via Gmail with attachments, CC/BCC, HTML support, and draft options.