undo_move
Restore messages to their previous location after a move_mail action, using an undo token or undoing the most recent move. Handles Gmail moves by returning messages from Trash to All Mail.
Instructions
Move messages back where they were before a move_mail call (by undo_token, or the latest move). Gmail messages come out of the trash into All Mail, not the inbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | undo_token returned by move_mail; omit to undo the most recent move. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | Yes | ||
| note | No | ||
| failed | No | ||
| undo_token | No |