Mulla759/GWSforDummies / .claude/skills/gws-gmail-users-threads-modify
gws-gmail-users-threads-modify
VerifiedGmail: Modify the labels applied to a specific thread.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.7 KB |
SKILL.md
View on GitHub---
name: gws-gmail-users-threads-modify
description: "Gmail: Modify the labels applied to a specific thread."
---
# gmail users threads modify
Modify the labels applied to a specific thread. This changes the labels on all messages currently in the thread.
## Usage
```bash
gws gmail users threads modify --params '<JSON_PARAMS>' --json '<JSON_BODY>'
```
## Parameters (`--params` JSON)
| Parameter | Required | Default | Description |
| --------- | -------- | ------- | ------------------------------------------------------------- |
| `userId` | ✓ | — | The user's email address or `"me"` for the authenticated user |
| `id` | ✓ | — | The Gmail thread ID |
## Request Body (`--json` JSON)
| Field | Type | Description |
| ---------------- | ---------------- | -------------------------------------------- |
| `addLabelIds` | Array of strings | List of label IDs to add to the thread. |
| `removeLabelIds` | Array of strings | List of label IDs to remove from the thread. |
## Examples
```bash
# Archive an entire thread (remove INBOX from all messages in the thread)
gws gmail users threads modify --params '{"userId": "me", "id": "19ea3ab6ef5d5f9f"}' --json '{"removeLabelIds": ["INBOX"]}'
# Apply a custom label to a thread
gws gmail users threads modify --params '{"userId": "me", "id": "19ea3ab6ef5d5f9f"}' --json '{"addLabelIds": ["triage/todo"]}'
```
## Tips
- Modifying a thread affects all messages currently in that thread.
- If you want to modify only a single message in a thread without affecting others, use `gws gmail users messages modify`.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |