IMAP and MAPI

Hi,

Due to the recent Outlook Modern Authentication Feature by Microsoft, IMAP is going to be discontinued at the end of the year, I have done some research and realized that MAPI would be the optimal replacement (correct me if I’m wrong), however, there is no integrations from UiPath that support MAPI and so would like to know if UiPath is doing something about this new update or is there any workaround that can be sorted as a temporary solution.

Thanks in advance.

Hi @FilipeChiou ,

Definitely this is a reason for concern. However, there are quite a few alternatives to work with around it no significant problems.

Concept:
First of all, let’s clarify the concept MAPI is just an interface to have applications receive and interact with email (Messaging Application Programming Interface or just Messaging API) that by itself is just a collection of libraries.

On the other hand, IMAP/POP/SMTP are messaging protocols for sending and receiving emails which in most scenarios will authenticate using simple authentication username/password which is not secure according to modern standards.

Solution #1:
Use Send Outlook Message, and Get Outlook Messages these activities are built with to interact with the Outlook profile on the executing machine, and therefore, will use the authentication method used by the mail client which if you’re using a O365 is by default authenticating with OAuth.

Outlook Email Automation (uipath.com)

Solution #2:
Use O365 Scope, you will need to work with your system administrator to provide you with a set of Client/Secret as well to authorize the connection, this results very helpful if your organization enforces SSO/SAML

Microsoft Office 365 Scope (uipath.com)

Solution #3
Integration Service, configure the connector and authenticate with OAuth. Your O365 admin may need to authorize UiPath as a trusted application.

About the Microsoft Outlook 365 connector (uipath.com)

Hope this information is useful, happy automation :robot:

1 Like

Hi @Edwin_Barahona thank you so much for the reply, I will definitely look into this and come back with some updates!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.