Productivity

recipe-create-vacation-responder

googleworkspace/cli · updated Apr 8, 2026

$npx skills add https://github.com/googleworkspace/cli --skill recipe-create-vacation-responder
summary

Set up Gmail out-of-office auto-replies with custom messages and date ranges.

  • Enables vacation responder with customizable subject line, plain-text response body, and optional contact/domain restrictions
  • Supports three core operations: enable auto-reply, verify current settings, and disable when returning
  • Requires the gws-gmail skill as a dependency
skill.md

1d:["$","div",null,{"className":"prose prose-invert max-w-none prose-headings:font-semibold prose-headings:tracking-tight prose-h1:text-4xl prose-h1:mb-2 prose-h2:text-2xl prose-h2:mb-2 prose-h3:text-lg prose-h3:mb-2 prose-p:text-muted-foreground prose-li:text-muted-foreground prose-code:bg-muted prose-code:text-foreground prose-code:px-1 prose-code:py-0.5 prose-code:rounded-sm prose-code:text-sm prose-code:before:content-none prose-code:after:content-none prose-pre:bg-muted prose-pre:text-foreground prose-pre:border prose-pre:border-border prose-pre:rounded-md [&_table]:!border-[color:var(--border)] [&_th]:!border-[color:var(--border)] [&_td]:!border-[color:var(--border)]","dangerouslySetInnerHTML":{"__html":"<h1>Set Up a Gmail Vacation Responder</h1>\n<blockquote>\n<p><strong>PREREQUISITE:</strong> Load the following skills to execute this recipe: <code>gws-gmail</code></p>\n</blockquote>\n<p>Enable a Gmail out-of-office auto-reply with a custom message and date range.</p>\n<h2>Steps</h2>\n<ol>\n<li>Enable vacation responder: <code>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}'</code></li>\n<li>Verify settings: <code>gws gmail users settings getVacation --params '{"userId": "me"}'</code></li>\n<li>Disable when back: <code>gws gmail users settings updateVacation --params '{"userId": "me"}' --json '{"enableAutoReply": false}'</code></li>\n</ol>"}}]