Gmail

GMAIL_CREATE_LABEL

Creates a new label with a unique name in the specified user's gmail account.

Remote gmail

Other tools also called GMAIL_CREATE_LABEL? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string",
      "title": "User Id",
      "default": "me",
      "examples": [
        "me",
        "[email protected]"
      ],
      "description": "The email address of the user in whose account the label will be created."
    },
    "label_name": {
      "type": "string",
      "title": "Label Name",
      "examples": [
        "Work",
        "Important Documents",
        "Receipts 2024"
      ],
      "description": "The name for the new label. Must be unique within the account, non-blank, maximum length 225 characters, cannot contain ',' or '/', not only whitespace, and must not be a reserved system label (e.g., INBOX, DRAFTS, SENT)."
    },
    "text_color": {
      "type": "string",
      "title": "Text Color",
      "default": null,
      "examples": [
        "#000000",
        "#FF0000"
      ],
      "nullable": true,
      "description": "The text color of the label, in hex (e.g., \"#000000\")."
    },
    "background_color": {
      "type": "string",
      "title": "Background Color",
      "default": null,
      "examples": [
        "#FFFFFF",
        "#00FF00"
      ],
      "nullable": true,
      "description": "The background color of the label, in hex (e.g., \"#FFFFFF\")."
    },
    "label_list_visibility": {
      "type": "string",
      "title": "Label List Visibility",
      "default": "labelShow",
      "examples": [
        "labelShow",
        "labelShowIfUnread",
        "labelHide"
      ],
      "description": "Controls how the label is displayed in the label list in the Gmail sidebar."
    },
    "message_list_visibility": {
      "type": "string",
      "title": "Message List Visibility",
      "default": "show",
      "examples": [
        "show",
        "hide"
      ],
      "description": "Controls how messages with this label are displayed in the message list."
    }
  }
}
          

Provider

Gmail →