Recipe Create Vacation Responder
Apps & Automationrecipe-create-vacation-responderRecipe Create Vacation Responder is an Agent Skill for apps & automation published in the googleworkspace/cli repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Enable a Gmail out-of-office auto-reply with a custom message and date range.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/googleworkspace/cli/blob/HEAD/skills/recipe-create-vacation-responder/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/recipe-create-vacation-responder, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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 [email protected].", "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}'