---
id: sm-recipe-batch-reply-to-emails
name: "recipe-batch-reply-to-emails"
url: https://skills.yangsir.net/skill/sm-recipe-batch-reply-to-emails
author: googleworkspace
domain: ai-productivity-automation
tags: ["email-automation", "marketing-automation", "customer-service", "gmail-api", "batch-processing"]
install_count: 621
rating: 4.20 (56 reviews)
github: https://github.com/googleworkspace/cli
---

# recipe-batch-reply-to-emails

> 查找符合特定查询条件的Gmail邮件，并批量发送标准回复，提高邮件处理效率。

**Stats**: 621 installs · 4.2/5 (56 reviews)

## Before / After 对比

### Gmail邮件批量回复，提升处理效率

## Readme

# recipe-batch-reply-to-emails

# Batch Reply to Similar Gmail Messages

**PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`

Find Gmail messages matching a query and send a standard reply to each one.

## Steps

- Find messages needing replies: `gws gmail users messages list --params '{"userId": "me", "q": "is:unread from:customers label:support"}' --format table`

- Read a message: `gws gmail users messages get --params '{"userId": "me", "id": "MSG_ID"}'`

- Send a reply: `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.'`

- Mark as read: `gws gmail users messages modify --params '{"userId": "me", "id": "MSG_ID"}' --json '{"removeLabelIds": ["UNREAD"]}'`

Weekly Installs621Repository[googleworkspace/cli](https://github.com/googleworkspace/cli)GitHub Stars21.4KFirst Seen14 days agoSecurity Audits[Gen Agent Trust HubPass](/googleworkspace/cli/recipe-batch-reply-to-emails/security/agent-trust-hub)[SocketPass](/googleworkspace/cli/recipe-batch-reply-to-emails/security/socket)[SnykWarn](/googleworkspace/cli/recipe-batch-reply-to-emails/security/snyk)Installed oncodex605opencode604gemini-cli603cursor603github-copilot603kimi-cli602

---
*Source: https://skills.yangsir.net/skill/sm-recipe-batch-reply-to-emails*
*Markdown mirror: https://skills.yangsir.net/api/skill/sm-recipe-batch-reply-to-emails/markdown*