Skip to main content
Version: Current

Delete Outlook Email

Description​

The Delete Outlook Email activity deletes an email from a Microsoft 365 (Outlook) mailbox using a configured Outlook connection.


Common Capabilities​

Process Data Support​

info

This activity supports dynamic configuration using variables from the Process Data drawer.

You can bind values from:

  • Model Data
  • Form Data
  • System Data
  • Enterprise Variables
  • Activity Outputs

Variables can be used directly or inside Liquid or JavaScript expressions where supported.

Learn more → Using Process Data


Design Time Configuration​

Display Text​

Specifies the activity's display name as shown on the workflow canvas.

Connection Name​

Specifies the Outlook (Microsoft 365) connection to use for deleting the email.

Mail Folder​

Specifies the mail folder that contains the email.

  • Examples: INBOX, Sent, Drafts
  • Default value: INBOX

Message Identifier​

Specifies the provider-specific message identifier (Microsoft Graph message ID) of the email to delete.

Use the MessageId value returned by the Read Outlook Email activity.

Execution Control (Wait All Incoming)​

Controls how the activity behaves when multiple incoming execution paths converge.

For detailed behavior and usage guidelines, see   Execution Control – Wait All Incoming.

Error Handling (On Error)​

Defines how the workflow proceeds if the activity encounters an error.

Supported strategies include Fault, Continue, Suspend, and Retry.

For details, see   On Error Handler.


Output​

Deleted Email​

Returns the deleted email (if found), serialized as JSON.

The output includes the following properties:

  • From – Sender email address
  • To – Recipient email addresses
  • Subject – Email subject
  • TextBody – Plain text body
  • HtmlBody – HTML body
  • ReceivedAt – Date and time the email was received
  • MessageId – Microsoft Graph message identifier
  • InternalId – Internal unique identifier
  • Attachments – List of attachment metadata