Delete email
Move a Gmail message to the trash, or delete it permanently.
Command in the Google Workspace toolkit · id ooa.google/gmail_delete_message · 4 inputs (2 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | Yes | Google OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Message ID | String | Yes | Gmail message id from List Gmail messages. | |
| Permanent | Boolean | No | false | Delete for good instead of moving to the trash (needs full mail access). |
| Endpoint address | String | No | Replaces https://*.googleapis.com for testing or a proxy; leave empty normally. |