restore_email
Restore a trashed email to your inbox or any folder. Recovers messages that were accidentally deleted by moving them out of the Trash.
Instructions
Move an email from Trash back to INBOX or to a specified folder. Use to undo a trash_email operation. Does not work on permanently deleted messages — only messages currently in Trash can be restored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | Composite email id in FOLDER::UID format, as returned by get_emails or search_emails. | |
| targetFolder | No | Optional restore destination. Defaults to INBOX. |