googleworkspace avatar

Gws Gmail Reply All

Handles reply-all emails through the command line with proper threading, which is surprisingly tricky to get right when you're automating Gmail responses. The key feature here is the remove flag that lets you exclude specific recipients from the reply, solving that common problem where you want to reply-all but drop someone from the thread. Also handles HTML formatting correctly and preserves inline images in quoted content. Most useful when you're building automated email workflows or just want to batch process replies without opening Gmail. The dry-run option is smart since reply-all mistakes are expensive.

skills.sh installs
33.8K
GitHub stars
32.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add googleworkspace/cli --skill gws-gmail-reply-all --agent claude-code

Installs into .claude/skills of the current project.

Files

gmail +reply-all

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Reply-all to a message (handles threading automatically)

Usage

gws gmail +reply-all --message-id <ID> --body <TEXT>

Flags

FlagRequiredDefaultDescription
--message-id✓—Gmail message ID to reply to
--body✓—Reply body (plain text, or HTML with --html)
--from——Sender address (for send-as/alias; omit to use account default)
--to——Additional To email address(es), comma-separated
--attach——Attach a file (can be specified multiple times)
--cc——CC email address(es), comma-separated
--bcc——BCC email address(es), comma-separated
--html——Treat --body as HTML content (default is plain text)
--dry-run——Show the request that would be sent without executing it
--draft——Save as draft instead of sending
--remove——Exclude recipients from the outgoing reply (comma-separated emails)

Examples

Sponsors

Details

Repository
github.com/googleworkspace/cli
Categories
CLI & Terminal, Office & Documents

More from googleworkspace/cli

All 113
1firecrawl avatarfirecrawl-monitorfirecrawl/cliDetect when content on a website changes and get notified by webhook or email — no cron jobs, scrapers, or diff scripts required. Use this skill whenever the us33.7Kskills.sh installs
2googleworkspace avatargws-workflow-email-to-taskgoogleworkspace/cliGoogle Workflow: Convert a Gmail message into a Google Tasks entry.33.2Kskills.sh installs
3googleworkspace avatargws-chat-sendgoogleworkspace/cliGoogle Chat: Send a message to a space.32.7Kskills.sh installs
4googleworkspace avatargws-workflow-meeting-prepgoogleworkspace/cliGoogle Workflow: Prepare for your next meeting: agenda, attendees, and linked docs.32.6Kskills.sh installs
5googleworkspace avatargws-workflow-standup-reportgoogleworkspace/cliGoogle Workflow: Today's meetings + open tasks as a standup summary.32.3Kskills.sh installs
6googleworkspace avatarrecipe-draft-email-from-docgoogleworkspace/cliRead content from a Google Doc and use it as the body of a Gmail message.32.3Kskills.sh installs