App Logo
outlook.live.com

Delete an Outlook.com email

Delete one received Outlook.com (outlook.live.com) message by its id (from list_emails). Confirms the message is actually gone and that exactly one message was removed, rather than assuming the action worked, and then reports whether it is still recoverable: deleting from an ordinary folder files the message in Deleted Items, while deleting from Junk Email destroys it outright. When it is recoverable the id it now has in Deleted Items is returned. Drafts are not supported, because selecting a draft opens it in the composer. Deleting from Deleted Items is also refused, since that is permanent and Outlook gates it behind a confirmation dialog.

Input

id required

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

folder optional

Folder the message lives in, named as it appears in your folder list (e.g. Inbox, Archive, Junk Email). Case and surrounding spaces do not matter. Two folders are refused rather than half-supported: Drafts, because selecting a draft opens it in the composer, and Deleted Items, because deleting there is permanent and Outlook gates it behind a confirmation dialog.

Default: "Inbox"

Output

id required
folder required
deleted required

True only when the target row is gone AND no other row disappeared with it. Never inferred from the keypress.

permanent required

True when the message is NOT recoverable from Deleted Items. Only trust this when recoverabilityConfirmed is true — deleting from Junk Email destroys a message outright, while deleting from an ordinary folder files it in Deleted Items.

remaining optional

Rows still rendered in the source folder. The list is virtualised and backfills, so this is not a folder total and is not used to verify the deletion.

recoverableAs optional

The id the message now has in Deleted Items, when it was found there. Outlook gives a message a new id per folder, so the id passed in will not find it.

recoverabilityConfirmed optional

Whether the recoverability verdict was actually established by looking. False means Deleted Items could not be read conclusively (its list is virtualised), so `permanent` is a default rather than a finding and the message may well still be recoverable.

FAQ

Delete one received Outlook.com (outlook.live.com) message by its id (from list_emails). Confirms the message is actually gone and that exactly one message was removed, rather than assuming the action worked, and then reports whether it is still recoverable: deleting from an ordinary folder files the message in Deleted Items, while deleting from Junk Email destroys it outright. When it is recoverable the id it now has in Deleted Items is returned. Drafts are not supported, because selecting a draft opens it in the composer. Deleting from Deleted Items is also refused, since that is permanent and Outlook gates it behind a confirmation dialog.
Required: id. Optional: folder.
It returns id, folder, deleted, permanent, remaining, recoverableAs, recoverabilityConfirmed.
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/delete_email, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/outlook.live.com/delete_email
It is part of Reduck's official curated catalogue.

Start building not clicking