Gmail Custom icon

Gmail Custom

Interact with Gmail API with auto-refreshing token

Actions12

Draft → Delete

AI-generated

Summary

Delete a draft email from the authenticated user's Gmail account by specifying its Draft ID.

Inputs

  • Authentication (required) — Choose the method of authentication: either Refresh Token (auto-refresh) or Bearer Token (manual).
  • Custom Refresh Token — Optionally override the refresh token from credentials when using Refresh Token authentication.
  • Draft ID (required) — The ID of the draft email to delete.

Output shape

a single JSON object indicating success and the deleted draft's ID

The operation returns a JSON object with a success flag and the draftId of the deleted draft. Errors will be raised unless the node is set to continue on failure, in which case error information is returned per item.

Discussion