OUTLOOK Batch e-mail operations function

The OUTLOOK Batch e-mail operations function in RPA.

Help CentreBuilding Processes

This article describes the RPA Outlook functionality to perform bulk operations on e-mails.

For a full list of available functions, please read OUTLOOK functions.


Description

The OUTLOOK Batch e-mail operations function allows you to perform bulk operations on e-mails matching a filter. Supports mark_read, mark_unread, delete, move, and category actions applied to all matching e-mails at once.


Setting it up

To use the OUTLOOK Batch e-mail operations function, follow these instructions:

{{popups:rpas/add:action=outlook-batch}}

Once on a process map:

  1. Navigate to the process where you would like to add the OUTLOOK Batch e-mail operations function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the OUTLOOK Batch e-mail operations option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
AccountYesText-The Outlook e-mail account
ActionYesSelect-The bulk action: mark_read, mark_unread, delete, move, or category
Folder / mailboxNoTextCurrentFolder path to search in (e.g. Inbox or Inbox::Subfolder)
Target folderOnly for moveText-Destination folder path for the move action
CategoryOnly for categoryText-Category name to assign (e.g. Red Category)
Subject filterNoText-Filter by subject substring
Sender filterNoText-Filter by sender name or e-mail address
Date fromNoText-Filter e-mails received on or after this date (YYYY-MM-DD)
Date toNoText-Filter e-mails received on or before this date (YYYY-MM-DD)
Unread onlyNoSwitchOffFilter to only unread e-mails
Has attachmentsNoSwitchOffFilter to only e-mails with attachments

Output variables

This action does not produce output variables.


Errors

ErrorDescription
Outlook not openOutlook is not running
Folder not foundThe specified folder does not exist
Target folder not foundThe destination folder for move does not exist
Invalid actionThe specified action is not supported

Tips

  • Combine multiple filters to precisely target the e-mails you want to process
  • Use date range filters to batch-process old e-mails
  • The move action requires a target folder to be specified

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.