confirm_junk_email
Confirm a prepared email and move it to the Junk folder using an approval token. Ensures the email hasn't changed before marking it as junk.
Instructions
Confirm and execute marking an email as junk using a token from prepare_junk_email. Moves the email to the Junk 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 mark as junk — must match the ID used in the prepare step | |
| token_id | Yes | The approval token UUID from prepare_junk_email (e.g., "a1b2c3d4-...") |