Pega Robotics handling encrypted e-mails in Outlook

We are looking at ways for one of our robots to handle encrypted e-mails using either the Outlook connector or a C# script, and wondered if anyone has experience with this? The volume of encrypted e-mails we’re receiving has been increasing, so this is becoming more and more of a requirement as security naturally tightens.

Currently, the automation will throw an exception when trying to interact with an encrypted e-mail in any way. We have not yet found a way to move the e-mail to another folder. It remains in place, so any attempts to retry the process keep hitting the same issue. If we could just move the e-mail, rather than create a Try-Catch to safely ignore the exception and continue, we can at least provide a better solution to the end users. Even better if there’s a way to actually read the e-mail (at least subject line) and save it as an *.msg file, as well as move it around.

Is there something available OOTB that I’ve missed maybe, or any ideas on how we could achieve this? Thanks

use a server-side Exchange/Outlook mail flow rule to catch encrypted emails before the Pega robot touches them. Pega Robotics with the Outlook connector is not a reliable way to read or move protected messages because the encryption is enforced by Outlook and Microsoft rights management, so the robot keeps failing on the same item. Microsoft supports mail flow rules for encrypted mail, including routing those messages and, in some internal cases, removing encryption under admin policy control. Create a rule that sends encrypted emails to a separate mailbox or folder that the robot does not monitor, so processing continues without repeated exceptions. This gives you a stable fix and prevents the robot from getting stuck on protected messages