gws-gmail-reply

Automate Gmail threaded replies by message ID with optional recipients and attachments.

8|3|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/haberlah/dotfiles-claude --skill gws-gmail-reply-haberlah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-gmail-reply
Source: https://github.com/haberlah/dotfiles-claude/tree/main/skills/gws-gmail-reply
Command: npx skills add https://github.com/haberlah/dotfiles-claude --skill gws-gmail-reply-haberlah

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool automates replying to Gmail messages within a thread by message ID, saving time and preventing manual threading errors.

Core Features & Use Cases

  • Automatically sets In-Reply-To and threadId headers to preserve conversation context.
  • Supports configurable recipients and attachments with flags like --to, --cc, --bcc, and --attach, plus HTML bodies with --html.
  • Use cases include customer support replies, internal team coordination, and draft-saving for later sending.

Quick Start

Provide a Gmail message ID and reply body, then run the command to post the reply to the thread.

Frequently Asked Questions about gws-gmail-reply

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate replying to a Gmail thread by message ID?

To automate a Gmail reply by message ID, provide the required --message-id and --body parameters to the command, which posts your response directly to the correct thread while preserving In-Reply-To and threadId headers.

Can I save a Gmail reply as a draft instead of sending it immediately?

Yes, you can save a Gmail reply as a draft by including the --draft flag, allowing you to review and send the threaded message later instead of posting it immediately.

Does the Gmail reply automation support adding CC, BCC, and attachments?

Yes, the Gmail reply automation supports adding CC, BCC, and attachments by using the optional --cc, --bcc, and --attach flags when configuring your threaded reply command.

What is the best way to ensure automated email replies preserve thread context in Gmail?

The best way to preserve thread context in Gmail is to use a command-line automation tool that automatically sets the In-Reply-To and threadId headers based on the original message ID.

How do I send an HTML formatted reply to a Gmail thread from the command line?

To send an HTML formatted reply to a Gmail thread, use the --html flag along with the required --message-id and --body parameters to format your automated response correctly.

When should I use the dry-run flag for Gmail reply automation?

You should use the --dry-run flag when you want to test your Gmail reply automation and verify the command output without actually sending or saving the message to the thread.