Move an Outlook.com email to a folder
Input
id requiredMessage id from list_emails (the row's id attribute).
toFolder requiredDestination folder, named as it appears in your folder list (e.g. Archive, Deleted Items).
folder optionalFolder the message is currently in, as shown in your folder list.
Default: "Inbox"Output
id requiredThe message id passed in, which identified it in the source folder.
moved requiredTrue only when the message is confirmed absent from the source AND present in the destination. Never inferred from the click.
folder requiredtoFolder requirednewId optionalThe id the message carries in the destination folder. Outlook reassigns it on a move, so use this for any follow-up call — the id you passed in no longer resolves.
leftSource optionalWhether the message left the source folder.
conversationId optionalConversation id, which is the same in every folder and is what the move is verified against.
confirmationDialog optionalWhether Outlook asked for confirmation before moving, which it does when taking a message out of Junk Email. Its offer to stop future mail from that sender reaching Junk is always declined, so the move changes nothing beyond this one message.
arrivedInDestination optionalWhether it was then found in the destination folder.
