restore_email
Recover an email from the Trash folder to your INBOX or a chosen folder. Use this to undo a trash_email action.
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. |