Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reply-all to a Gmail thread with automatic threading, recipient management, attachments, and HTML support.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: gws-gmail-reply-all3description: "Gmail: Reply-all to a message (handles threading automatically)."4metadata:5version: 0.22.56openclaw:7category: "productivity"8requires:9bins:10- gws11cliHelp: "gws gmail +reply-all --help"12---1314# gmail +reply-all1516> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.1718Reply-all to a message (handles threading automatically)1920## Usage2122```bash23gws gmail +reply-all --message-id <ID> --body <TEXT>24```2526## Flags2728| Flag | Required | Default | Description |29|------|----------|---------|-------------|30| `--message-id` | ✓ | — | Gmail message ID to reply to |31| `--body` | ✓ | — | Reply body (plain text, or HTML with --html) |32| `--from` | — | — | Sender address (for send-as/alias; omit to use account default) |33| `--to` | — | — | Additional To email address(es), comma-separated |34| `--attach` | — | — | Attach a file (can be specified multiple times) |35| `--cc` | — | — | CC email address(es), comma-separated |36| `--bcc` | — | — | BCC email address(es), comma-separated |37| `--html` | — | — | Treat --body as HTML content (default is plain text) |38| `--dry-run` | — | — | Show the request that would be sent without executing it |39| `--draft` | — | — | Save as draft instead of sending |40| `--remove` | — | — | Exclude recipients from the outgoing reply (comma-separated emails) |4142## Examples4344```bash45gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Sounds good to me!'46gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Updated' --remove [email protected]47gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Adding Eve' --cc [email protected]48gws gmail +reply-all --message-id 18f1a2b3c4d --body '<i>Noted</i>' --html49gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Notes attached' -a notes.pdf50gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Draft reply' --draft51```5253## Tips5455- Replies to the sender and all original To/CC recipients.56- Use --to to add extra recipients to the To field.57- Use --cc to add new CC recipients.58- Use --bcc for recipients who should not be visible to others.59- Use --remove to exclude recipients from the outgoing reply, including the sender or Reply-To target.60- The command fails if no To recipient remains after exclusions and --to additions.61- Use -a/--attach to add file attachments. Can be specified multiple times.62- With --html, the quoted block uses Gmail's gmail_quote CSS classes and preserves HTML formatting. Use fragment tags (<p>, <b>, <a>, etc.) — no <html>/<body> wrapper needed.63- With --html, inline images in the quoted message are preserved via cid: references.64- Use --draft to save the reply as a draft instead of sending it immediately.6566## See Also6768- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth69- [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands70