How to read otp from email without using outlook app

I have an application that logs in with mfa which otp to be logged in.

Example : username : abc
Associated email : abc@domainname.com

When trying to login ,otp will come to its respected email box and from otp needs to be fetched and entered in the application.

In my case , i have 30 different credentials for this application and each username is linked to its own email account.

Bot 1 - bot1@domainame.com
Bot2 - bot2@domainname.com

How can this be achieved for fetching otp without using outlook app

Hi @Ragavi_Rajasekar

You can use the Get IMAP Mail Messages activity to read mails with out installing Outlook application.

Hope it helps!!

But its requires some input details like client credentials or port …how can i get those details ?

It requires Mail Credentials you have to get it from client. IMAP server and Port will be available in online for all… @Ragavi_Rajasekar

Below are the details,
IMAP server and port for Gmail
IMAP server: imap.gmail.com
IMAP Port: 993

IMAP server and port for Outlook
IMAP server: outlook.office365.com
IMAP port: 993

Hope it helps!!

Eventhough i tried with these details with email and password given , it shows invalid login

Hi @Ragavi_Rajasekar

Could you create an App Password instead of using the login password directly. It might work then.

When you get Invalid credential error, it is most likely that you didn’t use App Password.

Similar thread

Hello,

Maybe you can give a try on Integration Service : Outlook 365 connector and Get Newest mail activity, with good filters and called right after login button should work.
But that means for each e-mail you have setuped a connection, but in all cases you will need to do this even without integration service