confirm_archive_email
Confirm an email archive request using a valid token and move the email to the Archive folder. Returns success or clear errors for invalid or expired tokens.
Instructions
Confirm and execute archiving an email using a token from prepare_archive_email. Moves the email to the Archive 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 archive — must match the ID used in the prepare step | |
| token_id | Yes | The approval token UUID from prepare_archive_email (e.g., "a1b2c3d4-...") |