Outlook Delete Email
Outlook Delete Email
Section titled “Outlook Delete Email”Type: outlook-delete-email · Package: Outlook Activities v1.0.0
Deletes an email, moving it to the Deleted Items folder in Outlook (it does not permanently delete it). Useful for discarding irrelevant or spam emails within a classification process.
How it works
Section titled “How it works”From the EntryID of the email, it moves it to Deleted Items.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
entryId | expression | Mail EntryID (from correo.Id). |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
session | session | Outlook Connect session. If omitted, use the default account. |
Example
Section titled “Example”For Each items = = correos itemVariable = correo └─ activities: If condition = = contains(lower(correo.Subject), "publicidad") └─ then: Outlook Delete Email entryId = = correo.IdRelated activities
Section titled “Related activities”- Outlook Move Email — archive to another folder instead of deleting.
- Outlook Mark Read — mark as read.