Outlook requires Allow access when sending email




I am trying to send mail using Outlook. The process is to read the email folder and check for mail with specific subject. If found, send an email to the target users.

I have completed implementing the logic but it seems outlook shows a pop-up to Allow UIPath to access the mail and for sending too.

Is there any way to add UIPath to the trust list of Outlook so that it won’t ask me to allow each time?


Can anyone provide any info on this?


you may try to look into “Trust Center Settings” in “Outlook Options”. There is “Programmatic Access Security” tab which might solve your problem. But I do not have direct experience with this.



Hi there @sesha,
Alternatively, if you are unable to achieve this, you can possibly utilise a parallel, checking for the ‘Allow’ popup or a retrieved Mail Message.

If the popup appears, handle it accordingly, then get the mail messages again.

Otherwise, simply continue.


Hi @J0ska,

I can’t lower the settings in Programmatic Access Security. Anyways thanks for your input.

Thanks for your input. I’ll check this one out


HI @sesha

How did you solve this issue?



This seems to be outlook/microsoft specific problem and there are suggestion in google to fix the issue with group policy or in some cases with direct registry editing.

Same issue appeared in our automation and we are looking for how to solve this re-appearing issue.