Skip to main content
outlook.onMessageDeleted subscribes to Microsoft Graph mailbox notifications.

Example

automations/outlook-on-message-deleted.automation.ts

Options

Optional folder accepts an exact display path, provider ID, or well-known name. Omit it to watch the mailbox. Optional account selects a Microsoft binding.

Event

Runs when a message is deleted and returns an ID-only tombstone. Created and updated events include the normalized message. Deleted events include changeType, messageId, and the known folderId without fetching the deleted resource.