cancel
Showing results for 
Search instead for 
Did you mean: 

Get Mail from Outlook with Subject as criteria

GuniyaKapoor
Level 2
Hi All, We want to pick one mail depending on the Subject criteria. If we use the MAPIEx VBO, then we end up looping the Emails present in the particular folder. That will so many hits to Outlook server and may have performance issue.  Please suggest if there is any other solution for picking mail with Subject criteria in one go. Regards, Guniya
2 REPLIES 2

Denis__Dennehy
Level 15
I am guessing what you are doing might be fundamentally the incorrect solution design. I strongly recommend that for your RPA project you create a new mailbox folder for each Blue Prism process you want to automate that requires reading emails.  This will 1. Stop humans from interacting with emails at the same time as Robots and 2. Remove complexity around concurrent robot accessing the same mail box for multiple solutions. Once you have a single mailbox just for your solution it will be easier to design, implement, and support.  If you want you can set up a server side rule to automatically forward emails that meet your subject criteria to your solutions mailbox.

GuniyaKapoor
Level 2
@Denis__Dennehy Hi Denis,   Understand your point above. But we are using a dedicated mailbox for reading the mails which is not used by anyone else.  The tricky part is we have multiple mail reading steps for a session and there could be waiting in receiving the mails too. So, we have come up with a solution to avoid the wait time and move on to next item in the list. This item may be again parked for the mails.  So, we have to pick the mails specifically with respect to Subject for the parked items.  That is why we want to filter the request quickly from all the available mails in the target mailbox folder. There could be a chance that bot has to pick one mail out of 100s or 1000s mail.   BR//Guniya