Gmail

restore_message

Move a message out of Trash (or any folder) back to the Inbox or another folder.

Remote faivelo/mail

Remote (network-hosted)

Other tools also called restore_message? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "uid": {
      "type": "integer",
      "description": "Message UID (from list_messages on the Trash folder)"
    },
    "folder": {
      "type": "string",
      "description": "Folder the message is currently in (default: the Trash folder)"
    },
    "mailbox": {
      "type": "string",
      "description": "Full mailbox address"
    },
    "destination": {
      "type": "string",
      "description": "Folder to restore into (default \"INBOX\")"
    }
  }
}
          

Provider

Gmail →