Cannot read gmail message form Ui path

Iam new to Ui path . I tried to getting messages from gmail using IMAP gmail package . It showing invalid credentials . I checked the credential it is not wrong . And I found one solution from this forum that is turn on allow secure apps on gmail settings . But There is no option fro turning off that option . And I find that google has disabled that access from march 30th . So How can I read gmail messages through UI path

Hi! @Subin_Babu, welcome to community.

Yes, Google has removed this option. Instead of get IMAP try with get outlook Mail Message activity.

Find the reason below:

Less secure apps & your Google Account - Google Account Help.

Have a view on this thread also. This may help you to resolve the issue

Regards,
NaNi