restore_email
Move an email from Trash back to INBOX or a specified folder. Undo a trash operation by restoring trashed messages.
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. |