Critical-risk tools in Gmail
4 of the 18 tools in Gmail are classified as critical risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at critical risk
-
batch_deleteDestructiveDelete multiple emails at once (up to 1000). Default moves to Trash.
-
delete_emailDestructiveDelete an email. By default (permanent:false) moves to Trash — recoverable.
-
delete_labelDestructiveDelete a Gmail user label by its ID. System labels (INBOX, SENT, etc.) cannot be deleted.
-
empty_trashDestructivePERMANENTLY delete ALL messages in the Trash folder. THIS IS IRREVERSIBLE.
Attacks that target this class
Critical-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.