mcpField
G
gws-gmail-reply

gws-gmail-reply

github.com/streakycProductivity01.4k installsUpdated 12w ago
Repository

About gws-gmail-reply

A gws skill for replying to a Gmail message with automatic threading. It supports recipient changes, attachments, HTML replies, and saving a draft.

Key features

  1. 01Automatic reply threading
  2. 02Plain-text or HTML body
  3. 03Add recipients and attachments
  4. 04Send or save as draft

Use cases

  1. 01Reply to a Gmail message while preserving its thread
  2. 02Add CC or extra To recipients to a reply
  3. 03Prepare an attachment-bearing reply as a draft

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/streakyc/googleworkspacecli --skill gws-gmail-reply

After installing, type/gws-gmail-replyin Claude Code to confirm it loaded.

Details

From the project README

gmail +reply

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Reply to a message (handles threading automatically)

Usage

gws gmail +reply --message-id <ID> --body <TEXT>

Flags

FlagRequiredDefaultDescription
--message-id✓—Gmail message ID to reply to
--body✓—Reply body, used verbatim (plain text, or HTML with --html). \n is NOT a newline — use $'...' or a real line break
--from——Sender address (for send-as/alias; omit to use account default)
--to——Additional To email address(es), comma-separated
--attach——Attach a file (can be specified multiple times)
--cc——CC email address(es), comma-separated
--bcc——BCC email address(es), comma-separated
--html——Treat --body as HTML content (default is plain text)
--dry-run——Show the request that would be sent without executing it
--draft——Save as draft instead of sending

Examples

gws gmail +reply --message-id 18f1a2b3c4d --body 'Thanks, got it!'
gws gmail +reply --message-id 18f1a2b3c4d --body 'Looping in Carol' --cc [email protected]
gws gmail +reply --message-id 18f1a2b3c4d --body 'Adding Dave' --to [email protected]
gws gmail +reply --message-id 18f1a2b3c4d --body '<b>Bold reply</b>' --html
gws gmail +reply --message-id 18f1a2b3c4d --body 'Updated version' -a updated.docx
gws gmail +reply --message-id 18f1a2b3c4d --body 'Draft reply' --draft
# Multi-line body — $'...' quoting turns \n into a real newline:
gws gmail +reply --message-id 18f1a2b3c4d --body $'Hi John,\n\nConfirmed for Tuesday.\n\nBlake'
# Long body — read it from a file instead of quoting inline:
gws gmail +reply --message-id 18f1a2b3c4d --body "$(cat reply.txt)"

Tips

See Also

Comments

Markdown supported