SuperAPI AI 工具集

recipe-batch-reply-to-emails

办公与效率

查看项目

更新于 10-16 06:52

技能介绍

用途:在 Gmail 中按查询条件找出需要回复的邮件,并向每封邮件发送统一的标准回复,适合批量处理同类客户咨询。

前置条件:需先加载 gws-gmail 技能。

主要步骤:

  1. 查找待回复邮件:gws gmail users messages list --params '{"userId": "me", "q": "is:unread from:customers label:support"}' --format table
  2. 读取单封邮件:gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}'
  3. 发送回复:gws gmail +send --to sender@example.com --subject 'Re: Your Request' --body 'Thank you for reaching out. We have received your request and will respond within 24 hours.'
  4. 标记为已读:gws gmail users messages modify --params '{"userId": "me", "id": "MSG_ID"}' --json '{"removeLabelIds": ["UNREAD"]}'

适用场景:客服或支持团队对符合特定标签、发件人或未读状态的邮件进行批量标准回复。

限制:资料未提供批量循环、错误处理、发送频率限制或权限配置等细节,实际使用需结合 gws-gmail 技能与 Gmail API 权限。