Message → Delete
AI-generatedSummary
Delete a Gmail message by specifying its unique message ID using the Gmail API with an authorized access token.
Inputs
- Access Token Source (required) — Choose whether to use the access token from a previous node output or provide a custom expression.
- Access Token (required) — The Gmail API access token used for authorization; required if using a custom expression for the token.
- Message ID (required) — The unique identifier of the Gmail message to delete.
Output shape
a single record containing the API response to the delete request
The operation returns the Gmail API response as JSON in the output. If deletion is successful, the response is typically empty. Errors are returned in the output if the operation fails and continueOnFail is enabled.
Examples
Example 1: Delete an email message with a known Message ID using an access token from a previous node
Set Resource to Message, Operation to Delete, Access Token Source to From Previous Node, and provide Message ID as input.
