Gmail email label profile
org.intentschema.communication.email.message.label.v1@com.google.gmail.v1
JSON: bare · @sha256:57ae6973adc7…
Hash: sha256:57ae6973adc7f5109263c009bbb60bb58c720445753c3095f06cb8a8a266e9cf
Gmail profile for email message label.
Implements: Label email message (org.intentschema.communication.email.message.label.v1)
Payload
| Field | Type | Description |
target * | Target (required: external_id) | (system = "gmail", required: system) |
object * | object | |
idempotency_key | string | |
object
| Field | Type | Description |
add | string[] | Label identifiers to add. |
remove | string[] | Label identifiers to remove. |
Result
| Field | Type | Description |
external_id | string | |
labels | string[] | Label set after the operation. |
updated_at | string (date-time) | |
API mapping
Field mapping
| Intent field | API parameter |
target.external_id | userId/messages/{id} path parameter |
object.add | addLabelIds[] |
object.remove | removeLabelIds[] |