Delete

Immediately and permanently deletes the specified message

2 variables
0 variables

Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash instead

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Read, compose, send, and permanently delete all your email from Gmail

Input

This building block consumes 2 input parameters

  = Parameter name
  = Format

userId STRING Required

The user's email address. The special value me can be used to indicate the authenticated user

id STRING Required

The ID of the message to delete