con un clic
gws-gmail-users-messages-modify
Gmail: Modify the labels applied to a specific message.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Gmail: Modify the labels applied to a specific message.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Gmail: Create a custom label in the user's mailbox.
Gmail: List all labels in the user's mailbox.
Gmail: Get a specific message by ID with configurable format.
Gmail: List messages in a user's mailbox with optional filtering.
Gmail: Create a server-side message filter (rule) that auto-labels matching mail.
Gmail: List the existing message filters (rules) in the user's mailbox.
| name | gws-gmail-users-messages-modify |
| description | Gmail: Modify the labels applied to a specific message. |
Modify the labels applied to a specific message (e.g. add custom labels, archive by removing "INBOX", mark as read by removing "UNREAD").
gws gmail users messages modify --params '<JSON_PARAMS>' --json '<JSON_BODY>'
--params JSON)| Parameter | Required | Default | Description |
|---|---|---|---|
userId | ✓ | — | The user's email address or "me" for the authenticated user |
id | ✓ | — | The Gmail message ID |
--json JSON)| Field | Type | Description |
|---|---|---|
addLabelIds | Array of strings | List of label IDs to add to the message. |
removeLabelIds | Array of strings | List of label IDs to remove from the message. |
# Mark a message as read (remove UNREAD)
gws gmail users messages modify --params '{"userId": "me", "id": "19ea3ab6ef5d5f9f"}' --json '{"removeLabelIds": ["UNREAD"]}'
# Archive a message (remove INBOX)
gws gmail users messages modify --params '{"userId": "me", "id": "19ea3ab6ef5d5f9f"}' --json '{"removeLabelIds": ["INBOX"]}'
# Add a custom triage label and mark as read
gws gmail users messages modify --params '{"userId": "me", "id": "19ea3ab6ef5d5f9f"}' --json '{"addLabelIds": ["triage/done"], "removeLabelIds": ["UNREAD"]}'
"INBOX", "UNREAD", "STARRED", "IMPORTANT", "SPAM", "TRASH")."triage/done" or "Work")."INBOX" effectively archives the message.gws gmail users threads modify.