PluginBench
Skill
Review
Audit score 70

gws-gmail-reply-all

googleworkspace/cli

Reply-all to Gmail messages with automatic threading and flexible recipient control.

What is gws-gmail-reply-all?

Sends a reply-all to a Gmail message, automatically including the original sender and all To/CC recipients. Use this when you need to respond to a group conversation while optionally adding, removing, or modifying recipients, attaching files, or saving as a draft.

  • Reply to sender and all original To/CC recipients automatically
  • Add extra recipients via --to, --cc, or --bcc flags
  • Exclude specific recipients from the reply using --remove
  • Attach files (single or multiple) to the reply
  • Compose in plain text or HTML with automatic quote formatting
  • Save as draft instead of sending immediately

How to install gws-gmail-reply-all

npx skills add null --skill gws-gmail-reply-all
Prerequisites
  • Google Workspace CLI (gws) installed
  • Authentication configured via gws-shared skill
  • Gmail message ID of the message to reply to
Claude Code
Cursor
Windsurf
Cline

How to use gws-gmail-reply-all

  1. 1.Identify the Gmail message ID you want to reply to
  2. 2.Run gws gmail +reply-all with --message-id and --body as required arguments
  3. 3.Optionally add --to, --cc, or --bcc to include additional recipients
  4. 4.Optionally use --remove to exclude specific email addresses
  5. 5.Optionally attach files with -a/--attach (can repeat multiple times)
  6. 6.Optionally use --html if your body contains HTML formatting
  7. 7.Optionally use --draft to save as draft instead of sending
  8. 8.Use --dry-run to preview the request before execution

Use cases

Good for
  • Respond to a team email thread while removing one recipient who should not see the reply
  • Add a new person to a conversation by CC'ing them in your reply
  • Send a reply with file attachments to all original recipients
  • Draft a reply-all message for review before sending
  • Reply in HTML format with formatted text and preserved inline images from the original message
Who it's for
  • Email users managing group conversations
  • Teams coordinating via Gmail threads
  • Anyone needing to modify reply-all recipients before sending

gws-gmail-reply-all FAQ

How do I exclude someone from a reply-all?

Use the --remove flag with a comma-separated list of email addresses to exclude. For example: --remove bob@example.com,alice@example.com

Can I add new recipients to a reply-all?

Yes. Use --to for additional To recipients, --cc for CC recipients, and --bcc for blind CC recipients. These are added to the automatic reply-all recipients.

How do I attach files to the reply?

Use the -a or --attach flag followed by the file path. You can specify --attach multiple times to add multiple files.

What happens if I use --remove and remove all recipients?

The command will fail if no To recipient remains after exclusions. You must ensure at least one recipient is included, either from the original message or via --to additions.

Can I save the reply as a draft instead of sending?

Yes, use the --draft flag to save the reply as a draft in Gmail instead of sending it immediately.

Full instructions (SKILL.md)

Source of truth, from googleworkspace/cli.


name: gws-gmail-reply-all description: "Gmail: Reply-all to a message (handles threading automatically)." metadata: version: 0.22.5 openclaw: category: "productivity" requires: bins: - gws cliHelp: "gws gmail +reply-all --help"

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-idGmail message ID to reply to
--bodyReply body (plain text, or HTML with --html)
--fromSender address (for send-as/alias; omit to use account default)
--toAdditional To email address(es), comma-separated
--attachAttach a file (can be specified multiple times)
--ccCC email address(es), comma-separated
--bccBCC email address(es), comma-separated
--htmlTreat --body as HTML content (default is plain text)
--dry-runShow the request that would be sent without executing it
--draftSave as draft instead of sending
--removeExclude 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 bob@example.com
gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Adding Eve' --cc eve@example.com
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' --draft

Tips

  • 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