prepare_move_email
Prepare an email for moving to another folder. Returns a preview, folder details, and an approval token for confirmation. Token expires in 5 minutes.
Instructions
Prepare to move an email to another folder. Returns a preview of the email, destination folder details, and an approval token. Call confirm_move_email with the token to execute the move. Returns an error if the email or destination folder ID does not exist. The token expires after 5 minutes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email_id": "<email_id>",
"destination_folder_id": "<destination_folder_id>"
},
"name": "prepare_move_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | The email ID to move (e.g., from list_emails or search_emails) | |
| destination_folder_id | Yes | The destination folder ID (e.g., from list_folders) |