Skip to main content

Move all emails

Move every email in a folder that the filters find to another folder, e.g. Inbox/Done. The emails get new ids.

Command in the Outlook desktop toolkit · id ooa.outlook_desktop/move_all · 11 inputs (1 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
FolderStringNoInboxFolder path to move from.
To folderStringYesFolder path to move them to.
Unread onlyBooleanNofalseOnly unread emails.
Subject containsStringNoOnly emails whose subject contains this text.
From containsStringNoOnly emails whose sender address or name contains this text.
Received afterDateTimeNoOnly emails received after this date and time.
Received beforeDateTimeNoOnly emails received before this date and time (G3).
With attachments onlyBooleanNofalseOnly emails that have attachments (G3).
Largest valueNumberNo500At most this many emails.
MailboxStringNoAnother mailbox open in the runner's Outlook profile (its name or address), e.g. a shared mailbox; empty for the user's own.
To mailboxStringNoThe mailbox of the folder to move to; the same mailbox when empty.

Outputs​

OutputTypeWhat it is
idsListThe moved emails' new ids.
countNumberHow many emails were moved.