Skip to main content

Move email

Move an email to another folder, e.g. Inbox/Processed; returns its new id, as Exchange gives a moved email a new one.

Command in the Exchange (EWS) toolkit · id ooa.exchange/move · 4 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
IDStringYesEmail id from Find emails (an EWS item id).
To folderStringYesDestination: a well-known name such as archive, a path such as Inbox/Processed, or a folder id.
Create folderBooleanNofalseCreate the destination folder (and the folders on its path) when it does not exist.
SessionStringNoexchangeSession name of the open Exchange mailbox.

Outputs​

OutputTypeWhat it is
new_idStringThe email's id in the destination folder.