gws-gmail-reply

Reply to Gmail messages with threading and recipient management via gws CLI.

30.3k|1.8k|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/googleworkspace/cli --skill gws-gmail-reply-googleworkspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-gmail-reply
Source: https://github.com/googleworkspace/cli/tree/main/skills/gws-gmail-reply
Command: npx skills add https://github.com/googleworkspace/cli --skill gws-gmail-reply-googleworkspace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of replying to specific emails within Gmail, handling threading and recipient management.

Core Features & Use Cases

  • Direct Replies: Quickly respond to a specific email using its message ID.
  • Thread Management: Automatically handles threading by setting appropriate headers.
  • Custom Recipients: Easily add or modify To, CC, and BCC recipients.
  • HTML Support: Allows for rich text replies using HTML formatting.
  • Use Case: Respond to a customer support email, adding a manager to the CC line, and ensuring the reply is correctly threaded with the original conversation.

Quick Start

Reply to the email with ID '18f1a2b3c4d' with the message 'Thanks, got it!'.

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 specific Gmail message programmatically?

To automate a Gmail reply, you use the message ID of the original email to target it directly. This Skill manages threading headers and recipient lists automatically, allowing you to send plain text or HTML responses.

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

Yes, you can add or modify To, CC, and BCC recipients when sending an automated Gmail reply. The Skill allows you to specify custom recipients and even designate the sender for each response.

Does automated Gmail threading work with HTML formatted replies?

Yes, automated Gmail threading works with HTML formatted replies. The Skill sets the appropriate threading headers automatically while supporting both plain text and HTML bodies for rich text formatting.

What is the best way to test an automated Gmail reply without sending it?

The best way to test an automated Gmail reply without sending it is by using a dry run. The Skill supports dry runs, allowing you to verify the threading, recipients, and message body before actual delivery.

Do I need the gws CLI to reply to Gmail messages automatically?

Yes, you need the gws CLI to reply to Gmail messages automatically. The Skill integrates with the gws CLI to provide authenticated access to the Gmail APIs required for managing and sending replies.

Why are my automated email replies not threading with the original Gmail conversation?

Automated email replies fail to thread when appropriate headers are missing. This Skill automatically handles threading by setting the correct headers, ensuring your response connects to the original Gmail conversation.