Gmail email unsubscribe profile

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

JSON: bare · @sha256:fa7f43704042…
Hash: sha256:fa7f43704042368e62fb802f0fe985635a0db888606bef6eb0487e5a0234eba0

Gmail profile for email message unsubscribe.

Implements: Unsubscribe from email sender (org.intentschema.communication.email.message.unsubscribe.v1)

Payload

FieldTypeDescription
target *Target (required: external_id)(system = "gmail", required: system)
objectobject
idempotency_keystring
object

open object — no declared properties

Result

FieldTypeDescription
external_idstring
unsubscribed_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
(implicit)removeLabelIds: ['INBOX'] or external List-Unsubscribe call