Skip to content

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.

From the EntryID of the email, it moves it to Deleted Items.

ParameterEditorDescription
entryIdexpressionMail EntryID (from correo.Id).
ParameterEditorDescription
sessionsessionOutlook Connect session. If omitted, use the default account.
For Each items = = correos itemVariable = correo
└─ activities:
If condition = = contains(lower(correo.Subject), "publicidad")
└─ then:
Outlook Delete Email entryId = = correo.Id