Methodologygeneric
recipe-create-vacation-responder
Enable a Gmail out-of-office auto-reply with a custom message and date range.
googleworkspace/cli
Install
Use with your agent
Install the recipe-create-vacation-responder skill, then use it as build context. Run: npx skills add https://github.com/googleworkspace/cli --skill recipe-create-vacation-responder. Then read the installed skill.md and follow its guidance to build or refactor my project.
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}'