setFlags
Sets custom flags on email messages to categorize, prioritize, or mark them for follow-up actions within email folders.
Instructions
Sets flags on a message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
flags | Yes | ||
folder | Yes | ||
uid | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"flags": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"folder": {
"maxLength": 100,
"minLength": 2,
"type": "string"
},
"uid": {
"type": "number"
}
},
"required": [
"folder",
"uid",
"flags"
],
"type": "object"
}