Skip to main content
outlook.deleteMessage deletes a message from its current folder.
automations/delete-outlook-message.automation.ts
Required messageId identifies the message. Optional second argument { account } selects the Microsoft binding. Returns Signal<void>. The action doesn’t provide a permanent-delete option. Outlook controls whether the mailbox can recover a message deleted from the current folder.