
Recipe Create Vacation Responder
A straightforward three-step recipe for setting up Gmail's vacation responder through the command line. You get the essential commands to enable auto-reply with a custom message, verify your settings are correct, and disable it when you return. The workflow handles the common scenario where you need to quickly set an out-of-office message without clicking through Gmail's web interface. It's bare-bones but covers what most people actually need: turning it on, checking it worked, and turning it off. The commands are ready to customize with your own message text and contact details.
- skills.sh installs
- 30.7K
- GitHub stars
- 32.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add googleworkspace/cli --skill recipe-create-vacation-responder --agent claude-codeInstalls into .claude/skills of the current project.
Files
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}'
Sponsors
Details
- Repository
- github.com/googleworkspace/cli
- Categories
- CLI & Terminal, Office & Documents
More from googleworkspace/cli
All 113- Recipe Share Folder With Team30.7K
- Persona Customer Support30.7K
- Recipe Forward Labeled Emails30.7K
- Persona Event Coordinator30.6K
- Gws Modelarmor30.6K
- Persona Sales Ops30.6K
- Recipe Create Meet Space30.6K
- Recipe Create Expense Tracker30.6K
- Recipe Create Feedback Form30.5K
- Recipe Post Mortem Setup30.5K
- Gws Modelarmor Create Template30.5K
- Persona Hr Coordinator30.4K
- Recipe Share Event Materials30.4K
- Recipe Send Team Announcement30.3K
- Gws Modelarmor Sanitize Prompt30.3K
- Gws Classroom30.2K
- Gws Modelarmor Sanitize Response30.2K
- Recipe Log Deal Update30.2K
- Recipe Create Classroom Course30K
- Gws Script27.3K
- Gws Script Push26.7K
- Gws Admin670
- Recipe Batch Rename Files634
- Gws Apps Script629