Skip to main content

Move all matching emails

Move every email in one or more folders that matches the filters to another folder.

Command in the Email toolkit · id ooa.email/move_all · 13 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
To folderStringYesDestination folder.
FolderStringNoINBOXCurrent folder; several separated by ; and * for any text, e.g. INBOX; Invoices/*.
Unread onlyBooleanNofalseOlder steps: only unread emails. New steps choose the status instead.
From containsStringNoSender contains this text; separate several with ; to match any of them.
Subject containsStringNoSubject contains this text; in double quotes ("Invoice 7") the whole subject must be exactly that; separate several with ; to match any of them.
SinceDateTimeNoReceived on or after this date.
BeforeDateTimeNoReceived before this date.
Read onlyBooleanNofalseOlder steps: only emails already read. New steps choose the status instead.
To containsStringNoA To recipient contains this text.
Body containsStringNoThe body contains this text (searched by the server).
Create folderBooleanNofalseCreate the destination folder when it does not exist.
SessionStringNomailSession name of the open mailbox.
StatusStringNoanyWhich emails: any, only unread or only read.

Outputs​

OutputTypeWhat it is
countNumberNumber of emails moved.