Skip to main content

Move all emails

Move every email of a folder that the filters find to another folder (G5).

Command in the Exchange (EWS) toolkit · id ooa.exchange/move_all · 10 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
FolderStringNoinboxFolder: a well-known name (inbox, sentitems, deleteditems, drafts, junkemail, archive), a path such as Inbox/Invoices, or a folder id.
StatusStringNoanyWhich emails: any, only unread or only read.
From containsStringNoSender contains this text; separate several with ; to match any of them.
Subject containsStringNoSubject contains this text; separate several with ; to match any of them.
SinceDateTimeNoReceived on or after this time (UTC).
BeforeDateTimeNoReceived before this time (UTC).
Maximum resultsNumberNo500At most this many emails.
SessionStringNoexchangeSession name of the open Exchange mailbox.
To folderStringYesDestination: a well-known name, a path such as Inbox/Processed, or a folder id.
Create folderBooleanNofalseCreate the destination when it does not exist.

Outputs​

OutputTypeWhat it is
new_idsListThe moved emails' new ids.