|
| 1 | +--- |
| 2 | +name: gws-gmail-reply-all |
| 3 | +version: 1.0.0 |
| 4 | +description: "Gmail: Reply-all to a message (handles threading automatically)." |
| 5 | +metadata: |
| 6 | + openclaw: |
| 7 | + category: "productivity" |
| 8 | + requires: |
| 9 | + bins: ["gws"] |
| 10 | + cliHelp: "gws gmail +reply-all --help" |
| 11 | +--- |
| 12 | + |
| 13 | +# gmail +reply-all |
| 14 | + |
| 15 | +> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. |
| 16 | +
|
| 17 | +Reply-all to a message (handles threading automatically) |
| 18 | + |
| 19 | +## Usage |
| 20 | + |
| 21 | +```bash |
| 22 | +gws gmail +reply-all --message-id <ID> --body <TEXT> |
| 23 | +``` |
| 24 | + |
| 25 | +## Flags |
| 26 | + |
| 27 | +| Flag | Required | Default | Description | |
| 28 | +|------|----------|---------|-------------| |
| 29 | +| `--message-id` | ✓ | — | Gmail message ID to reply to | |
| 30 | +| `--body` | ✓ | — | Reply body (plain text) | |
| 31 | +| `--from` | — | — | Sender address (for send-as/alias; omit to use account default) | |
| 32 | +| `--cc` | — | — | Additional CC recipients (comma-separated) | |
| 33 | +| `--remove` | — | — | Exclude recipients from the outgoing reply (comma-separated emails) | |
| 34 | +| `--dry-run` | — | — | Show the request that would be sent without executing it | |
| 35 | + |
| 36 | +## Examples |
| 37 | + |
| 38 | +```bash |
| 39 | +gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Sounds good to me!' |
| 40 | +gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Updated' --remove [email protected] |
| 41 | +gws gmail +reply-all --message-id 18f1a2b3c4d --body 'Adding Eve' --cc [email protected] |
| 42 | +``` |
| 43 | + |
| 44 | +## Tips |
| 45 | + |
| 46 | +- Replies to the sender and all original To/CC recipients. |
| 47 | +- Use --remove to exclude recipients from the outgoing reply, including the sender or Reply-To target. |
| 48 | +- The command fails if exclusions leave no reply target. |
| 49 | +- Use --cc to add new recipients. |
| 50 | + |
| 51 | +## See Also |
| 52 | + |
| 53 | +- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth |
| 54 | +- [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands |
0 commit comments