Gws Gmail Reply All
Google WorkspaceOfficialPublished by Google Workspace
- Skill
- Tool integration
- Automation and integrations
- Apache-2.0
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The gws-gmail-reply-all skill provides a command-line interface to send reply-all messages through Gmail. It automatically handles email threading, ensuring that responses are correctly associated with the original conversation. The tool supports plain text and HTML bodies, file attachments, and granular control over recipients, including the ability to add or remove individuals from the thread. It also offers options to save messages as drafts or perform dry runs to verify the request before execution.
What it does
- Sends a reply-all message to a specific Gmail thread identified by its message ID.
- Supports both plain text and HTML formatted email bodies.
- Allows adding extra recipients via To, CC, or BCC fields.
- Enables the removal of specific recipients from the reply chain.
- Supports file attachments and saving messages as drafts.
- Provides a dry-run mode to preview the outgoing message.
When to use it
- When you need to automate responses to existing email threads via a terminal.
- When you want to programmatically add or remove recipients from a group conversation.
- When you need to send automated replies with attachments.
- When you prefer to draft automated emails for manual review before sending.
Advantages
- Maintains proper email threading automatically.
- Flexible recipient management allows for precise control over who receives the reply.
- Supports HTML content for richer email formatting.
- Integrates seamlessly into automated workflows or scripts.
Usage examples
- “Reply to message 18f1a2b3c4d with the text Sounds good to me!”
- The agent sends a reply-all message to the specified thread containing the provided text.
- “Reply to message 18f1a2b3c4d and remove [email removed] from the recipients.”
- The agent sends a reply-all message to the thread while excluding the specified email address.
- “Reply to message 18f1a2b3c4d with an HTML body and attach notes.pdf.”
- The agent sends an HTML-formatted reply-all message to the thread with the specified file attached.
- “Save a reply to message 18f1a2b3c4d as a draft.”
- The agent creates a draft reply in the Gmail thread without sending it.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/googleworkspace/gws-gmail-reply-all/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip gws-gmail-reply-all.zip -d .agents/skills
Documentation by Google Workspace
gmail +reply-all
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Reply-all to a message (handles threading automatically)
Usage
gws gmail +reply-all --message-id <ID> --body <TEXT>Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--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
gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Sounds good to me!'
gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Updated' --remove [email protected]
gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Adding Eve' --cc [email protected]
gws gmail +reply-all --message-id 18f1a2b3c4d --body '<i>Noted</i>' --html
gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Notes attached' -a notes.pdf
gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Draft reply' --draftTips
Replies to the sender and all original To/CC recipients.
Use --to to add extra recipients to the To field.
Use --cc to add new CC recipients.
Use --bcc for recipients who should not be visible to others.
Use --remove to exclude recipients from the outgoing reply, including the sender or Reply-To target.
The command fails if no To recipient remains after exclusions and --to additions.
Use -a/--attach to add file attachments. Can be specified multiple times.
With --html, the quoted block uses Gmail's gmail_quote CSS classes and preserves HTML formatting. Use fragment tags (<p>, <b>, <a>, etc.) — no <html>/<body> wrapper needed.
With --html, inline images in the quoted message are preserved via cid: references.
Use --draft to save the reply as a draft instead of sending it immediately.
See Also
gws-shared — Global flags and auth
gws-gmail — All send, read, and manage email commands
Files
- ATTRIBUTION.mdAdded by AutoGineer900 B
- LICENSELicence file added by AutoGineer11.1 KiB
- SKILL.md2.9 KiB
SKILL.md
gmail +reply-all
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Reply-all to a message (handles threading automatically)
Usage
gws gmail +reply-all --message-id <ID> --body <TEXT>Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--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
gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Sounds good to me!'
gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Updated' --remove [email protected]
gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Adding Eve' --cc [email protected]
gws gmail +reply-all --message-id 18f1a2b3c4d --body '<i>Noted</i>' --html
gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Notes attached' -a notes.pdf
gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Draft reply' --draftTips
Replies to the sender and all original To/CC recipients.
Use --to to add extra recipients to the To field.
Use --cc to add new CC recipients.
Use --bcc for recipients who should not be visible to others.
Use --remove to exclude recipients from the outgoing reply, including the sender or Reply-To target.
The command fails if no To recipient remains after exclusions and --to additions.
Use -a/--attach to add file attachments. Can be specified multiple times.
With --html, the quoted block uses Gmail's gmail_quote CSS classes and preserves HTML formatting. Use fragment tags (<p>, <b>, <a>, etc.) — no <html>/<body> wrapper needed.
With --html, inline images in the quoted message are preserved via cid: references.
Use --draft to save the reply as a draft instead of sending it immediately.
See Also
gws-shared — Global flags and auth
gws-gmail — All send, read, and manage email commands
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- Google Workspace
- Publisher
- Google Workspace (Official)
- Source
- googleworkspace/cli · skills/gws-gmail-reply-all · commit cd3697e
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Google Workspace.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download gws-gmail-reply-all.zip