Extracting email contents using Receive Messages
In this section, we will learn how to automate receiving emails, where the robot will read the contents of an email in a Google (Gmail) account. We will be using IMAP to achieve this goal. Assume the email address and password are already passed as an argument within the workflow and we consider only the first five unread email messages:
- Create a process
Create a new process named Email_Automation
in UiPath Studio. To proceed with this development, you need to send a sample email to the Gmail account.
- Send email
Send one test email to the Google email that needs to be automated, as shown in Figure 12.13:
- Enable IMAP in Gmail settings
You need to enable IMAP in your Gmail settings, as shown in Figure 12.14. To perform this, first, log in to your Gmail account and click the Settings icon, then, click the See All Settings button. Click...