自动化32k · #9223
recipe-create-vacation-responder
它能做什么
这个助手可以在你的 Gmail 中设置“外出”自动回复。你可以自定义回复内容,并设定自动回复的生效日期范围。
适用场景
- ✓外出旅行、无法回复邮件时。
- ✓生病需要请假几天时。
- ✓休长假或休假期间。
技能链接
https://github.com/googleworkspace/cli/blob/main/skills/recipe-create-vacation-responder/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/googleworkspace/cli/blob/main/skills/recipe-create-vacation-responder/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add googleworkspace/cli --skill recipe-create-vacation-responder
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-create-vacation-responder/SKILL.md -o SKILL.md
可以这样问 AI
“在我的 Gmail 中设置一条“外出”自动回复,说明我将在 7 月 15 日至 30 日外出,如有紧急事务,请联系 colleague@company.com。”
每周 5 个新技能,1 分钟读完。
工作原理
它会在你的 Gmail 中开启自动回复功能,填入你设定的内容,并设置生效时间段。你回来之后,它也可以帮你关闭这条回复。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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}'
常见问题
我需要先开通 Gmail 吗?
需要。这个助手是与你的 Gmail 账号配合使用的。
我可以选择谁会收到自动回复吗?
可以。你可以设置只回复联系人,也可以回复所有发件人。
之后怎么关闭自动回复?
你回来后,这个助手可以帮你关闭自动回复。
详情
作者的原始描述
Enable a Gmail out-of-office auto-reply with a custom message and date range.
repo: googleworkspace/cli
热度
- GitHub 星标
- 32k
- 排名
- #9223
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/6
评论
- …