Skip to content

Outlook Move Email

Type: outlook-move-email  ·  Package: Outlook Activities v1.0.0

Moves an email to another Outlook folder. It is the way to organize the tray after processing: take the messages already addressed to a “Processed” folder, classify by type, or archive.

Based on the EntryID of the email, it moves it to the targetFolder folder. Use / to indicate subfolders (e.g. Inbox/Procesados).

ParameterEditorDescription
entryIdexpressionMail EntryID (from correo.Id).
targetFolderexpressionDestination folder. Ex: "Inbox/Procesados".
ParameterEditorDescription
sessionsessionOutlook Connect session. If omitted, use the default account.

Archive each email after processing it:

For Each items = = correos itemVariable = correo
└─ activities:
... procesar ...
Outlook Move Email entryId = = correo.Id targetFolder = "Inbox/Procesados"