Gmail email move profile

org.intentschema.communication.email.message.move.v1@com.google.gmail.v1

JSON: bare · @sha256:8c9608b15396…
Hash: sha256:8c9608b15396cfbde2340b434ac8b1b615dcc0467f5e9c326e1b12154297d7e4

Gmail profile for email message move.

Implements: Move email message (org.intentschema.communication.email.message.move.v1)

Payload

FieldTypeDescription
target *Target (required: external_id)(system = "gmail", required: system)
object *object
idempotency_keystring
object
FieldTypeDescription
destinationstringProvider-specific folder identifier or label. Service profiles refine this (e.g., Gmail labelIds, Outlook folderId).
add_labelsstring[]
remove_labelsstring[]

Result

FieldTypeDescription
external_idstring
updated_atstring (date-time)

API mapping

FieldValue
base_urlhttps://gmail.googleapis.com
methodPOST
path/gmail/v1/users/me/messages/{id}/modify
scopeshttps://www.googleapis.com/auth/gmail.modify
docshttps://developers.google.com/gmail/api/reference/rest/v1/users.messages/modify

Field mapping

Intent fieldAPI parameter
target.external_iduserId/messages/{id} path parameter
object.add_labelsaddLabelIds[]
object.remove_labelsremoveLabelIds[]
object.destinationaddLabelIds[] (destination label)