confirm_delete_email
Confirm and execute deletion of an email using an approval token from prepare_delete_email. Moves the email to Deleted Items and returns a success or error message.
Instructions
Confirm and execute deletion of an email using a token from prepare_delete_email. Moves the email to the Deleted Items folder. Returns a success message. Returns an error if the token is invalid, expired, already used, or if the email has changed since the prepare step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | The email ID to delete — must match the ID used in the prepare step | |
| token_id | Yes | The approval token UUID from prepare_delete_email (e.g., "a1b2c3d4-...") |