Delete

Immediately and permanently deletes the specified draft

2 variables
0 variables

Immediately and permanently deletes the specified draft. Does not simply trash it

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
  • Manage drafts and send emails
  • View and modify but not delete your email

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 draft to delete