get_or_create_label
Retrieve a Gmail label by name or create it when missing, ensuring a label exists for organizing emails.
Instructions
Get an existing label by name or create it if it doesn't exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the label to get or create | |
| label_list_visibility | No | labelShow, labelShowIfUnread, or labelHide | |
| message_list_visibility | No | show or hide |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |