In multiple use cases I encounter the following issue:
I can’t retrieve a specific mail by specifying it’s UID.
Ex: I have an inbox where I receive multiple emails. The items should be performed by multiple Bots. After an item is done a reply should be send to the original email received.
Construction:
- A dispatcher who fetch the emails, extract the UID and put it in the Queue with additional instructions for the bot.
- A bot perform specific activities for the item and at the end sends the reply to the original email.
The issue is that in order to get the data from the original email the bot should read all the emails in the inbox and then to iterate to find the right one. This is time consuming especially when you have more then 3000 emails per day.
The current implementation of the Get Outlook Mail Messages doesn’t offer the access to search by UID even if all the methods to get emails from an inbox have this function embedded.
I also tried to store the System.Net.Mail.MailMesage on Orchestrator but this doesn’t work either due to the fact that the object is not serialised.