App Logo
outlook.live.com

Move an Outlook.com email to a folder

Move one Outlook.com (outlook.live.com) message to another folder by its id (from list_emails). Any folder in your folder list can be the destination, named exactly as it appears there. The move is confirmed on both sides — the message must have left the source and arrived in the destination — and because Outlook gives a message a new id in its new folder, that new id is returned for any follow-up call. Taking a message out of Junk Email is confirmed automatically without accepting Outlook's offer to stop future mail from that sender being treated as junk. Drafts are not supported.

Input

id required

Message id from list_emails (the row's id attribute).

toFolder required

Destination folder, named as it appears in your folder list (e.g. Archive, Deleted Items).

folder optional

Folder the message is currently in, as shown in your folder list.

Default: "Inbox"

Output

id required

The message id passed in, which identified it in the source folder.

moved required

True only when the message is confirmed absent from the source AND present in the destination. Never inferred from the click.

folder required
toFolder required
newId optional

The 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 optional

Whether the message left the source folder.

conversationId optional

Conversation id, which is the same in every folder and is what the move is verified against.

confirmationDialog optional

Whether 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 optional

Whether it was then found in the destination folder.

FAQ

Move one Outlook.com (outlook.live.com) message to another folder by its id (from list_emails). Any folder in your folder list can be the destination, named exactly as it appears there. The move is confirmed on both sides — the message must have left the source and arrived in the destination — and because Outlook gives a message a new id in its new folder, that new id is returned for any follow-up call. Taking a message out of Junk Email is confirmed automatically without accepting Outlook's offer to stop future mail from that sender being treated as junk. Drafts are not supported.
Required: id, toFolder. Optional: folder.
It returns id, moved, newId, folder, toFolder, leftSource, conversationId, confirmationDialog, arrivedInDestination.
Yes. It acts as you on outlook.live.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the outlook.live.com cookies saved by the Reduck extension.
It makes changes on outlook.live.com, like sending, posting or booking something.
Ask an AI agent connected to Reduck to run reduck/outlook.live.com/move_email, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/outlook.live.com/move_email
It is part of Reduck's official curated catalogue.

Start building not clicking