gws-gmail-reply

Sends threaded Gmail replies with automatic headers, quoting, and attachments via the gws CLI.

Updated Nov 9, 2023
One-click install
npx skills add https://github.com/oresttokovenko/dot-files --skill gws-gmail-reply-oresttokovenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-gmail-reply
Source: https://github.com/oresttokovenko/dot-files/tree/main/chezmoi/dot_agents/skills/gws-gmail-reply
Command: npx skills add https://github.com/oresttokovenko/dot-files --skill gws-gmail-reply-oresttokovenko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Replying to Gmail messages programmatically requires manually setting In-Reply-To, References, and threadId headers to keep conversations threaded correctly. This Skill handles that threading automatically so replies land in the right conversation without manual header management. ## Core Features & Use Cases - Automatic Threading: Sets In-Reply-To, References, and threadId headers and quotes the original message in the reply body. - Rich Reply Options: Supports HTML bodies, CC/BCC, additional To recipients, send-as aliases, and multiple file attachments. - Safe Execution Modes: Preview requests with --dry-run or save replies as drafts with --draft before sending. - Use Case: After reading a customer inquiry with gws gmail, reply with an updated document attached and CC a teammate, all in one command: the reply stays threaded and quotes the original message. ## Quick Start Reply to the Gmail message with ID 18f1a2b3c4d saying 'Thanks, got it!' using the gws gmail reply command.

Frequently Asked Questions about gws-gmail-reply

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

FAQPage Schema
How do I reply to a Gmail message from the command line?

Run gws gmail +reply with --message-id set to the Gmail message ID and --body containing your reply text. The command automatically sets threading headers and quotes the original message.

How do I send an HTML reply in Gmail with attachments?

Pass --html to treat the body as HTML using fragment tags like <p> and <b>, and add -a/--attach for each file. Inline images in the quoted message are preserved via cid: references.

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

Yes, add the --draft flag to save the reply as a draft instead of sending it immediately. You can also use --dry-run to preview the request without executing anything.

What is the difference between reply and reply-all in gws gmail?

The +reply command replies to the sender and lets you add recipients with --to, --cc, or --bcc. For reply-all behavior that includes all original recipients automatically, use the +reply-all command instead.

Why does gws gmail reply fail with an auth error?

Authentication and global configuration are handled by the gws-shared skill, which is a required prerequisite. If it is missing, run gws generate-skills to create it, then verify your credentials and gws installation.