gws-gmail-reply

Automate Gmail replies with threading headers and optional recipients.

1|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/cdrguru/portable-agent-kit --skill gws-gmail-reply-cdrguru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-gmail-reply
Source: https://github.com/cdrguru/portable-agent-kit/tree/main/.agent/skills/gws-gmail-reply
Command: npx skills add https://github.com/cdrguru/portable-agent-kit --skill gws-gmail-reply-cdrguru

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gmail replies often lose context and thread structure, requiring manual reassembly; this Skill automates replies while preserving the correct threading and headers.

Core Features & Use Cases

  • Automatically sets In-Reply-To, References, and thread headers to maintain conversation continuity.
  • Supports optional recipients (--to, --cc, --bcc), sender (--from), and HTML bodies (--html) for rich formatting.
  • Use Case: reply to customer inquiries with a consistent format across team members while preserving the original thread.

Quick Start

Run the command gws gmail +reply --message-id <ID> --body 'Your reply here' to send a threaded reply.

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 Gmail replies while keeping the email thread intact?

Automating Gmail replies while keeping the thread intact requires setting the correct In-Reply-To, References, and threadId headers. This Skill handles those headers automatically so your reply stays in the original conversation context.

Can I add CC and BCC recipients when sending an automated Gmail reply?

Yes, you can add CC and BCC recipients when sending an automated Gmail reply. The Skill supports optional --to, --cc, and --bcc flags, allowing you to include multiple recipients in the threaded response.

How do I send a threaded Gmail reply using the Gmail API and gws tooling?

To send a threaded Gmail reply using the Gmail API and gws tooling, run the command gws gmail +reply with the target message ID and your reply body. This automatically applies the necessary threading headers.

Does automated email threading support HTML formatted replies in Gmail?

Automated email threading supports HTML formatted replies in Gmail by using the optional --html flag. This allows you to send rich-formatted content while preserving the original conversation structure.

Why do my automated Gmail replies lose conversation context and appear as new messages?

Automated Gmail replies lose conversation context and appear as new messages when In-Reply-To and References headers are missing. This Skill automatically sets these headers to maintain conversation continuity.

Can I change the sender address when replying to a Gmail thread?

Yes, you can change the sender address when replying to a Gmail thread by using the optional --from flag. This lets you send the automated reply from a different configured address while keeping the thread intact.