apply_label
Apply a Gmail label to organize specific emails using message and label identifiers for better inbox management.
Instructions
Apply a label to an email
Input Schema
Name | Required | Description | Default |
---|---|---|---|
labelId | Yes | Label ID to apply | |
messageId | Yes | Email message ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"labelId": {
"description": "Label ID to apply",
"type": "string"
},
"messageId": {
"description": "Email message ID",
"type": "string"
}
},
"required": [
"messageId",
"labelId"
],
"type": "object"
}