Skip to content

Mulla759/GWSforDummies / .claude/skills/gws-gmail-users-labels-create

gws-gmail-users-labels-create

Verified

Gmail: Create a custom label in the user's mailbox.

FileKindSize
SKILL.mdskill md2.0 KB
---
name: gws-gmail-users-labels-create
description: "Gmail: Create a custom label in the user's mailbox."
---

# gmail users labels create

Create a new custom label in the user's mailbox.

## Usage

```bash
gws gmail users labels create --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 |

## Request Body (`--json` JSON)

| Field                   | Type   | Required | Description                                                                                                  |
| ----------------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------ |
| `name`                  | String | ✓        | The name of the label (can use slashes for hierarchy, e.g. `"triage/action-required"`).                      |
| `labelListVisibility`   | String | —        | Visibility of the label in the Gmail sidebar. Allowed values: `labelShow`, `labelShowIfUnread`, `labelHide`. |
| `messageListVisibility` | String | —        | Visibility of messages with this label in the message list. Allowed values: `show`, `hide`.                  |

## Examples

```bash
# Create a basic custom label
gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "triage/action-required"}'

# Create a custom label with sidebar visibility settings
gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Projects/Design", "labelListVisibility": "labelShowIfUnread", "messageListVisibility": "show"}'
```

## Tips

- If creating a nested/hierarchical label (e.g. `"Parent/Child"`), the parent label does not need to exist beforehand; Gmail will construct the tree automatically.
- Label names are case-sensitive.
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall