# Recipe Create Vacation Responder

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

- Repository: https://github.com/googleworkspace/cli (32044 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add googleworkspace/cli --skill recipe-create-vacation-responder -g -a claude-code -y`
Codex: `npx skills add googleworkspace/cli --skill recipe-create-vacation-responder -g -a codex -y`
Cursor: `npx skills add googleworkspace/cli --skill recipe-create-vacation-responder -g -a cursor -y`
Gemini CLI: `npx skills add googleworkspace/cli --skill recipe-create-vacation-responder -g -a gemini-cli -y`

## Description

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

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

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


