How to read mails from a particular ender in uipath
To read emails from a particular sender in UiPath, you can use the Read Email
activity and filter the emails based on the sender's email address. Here's a step-by-step guide:
Prerequisites:
- You have a UiPath robot with the
Read Email
activity installed. - You have a mailbox set up with IMAP or POP3 protocol.
- You have the sender's email address.
Steps:
- Create a new workflow: Open UiPath Studio and create a new workflow.
- Add the
Read Email
activity: Drag and drop theRead Email
activity from theActivities
panel to the workflow designer. - Configure the
Read Email
activity:- Set the
Mailbox
property to the name of your mailbox (e.g.,your_email_address@your_domain.com
). - Set the
Protocol
property toIMAP
orPOP3
, depending on your mailbox settings. - Set the
Username
andPassword
properties to your mailbox credentials.
- Set the
- Filter emails by sender: In the
Read Email
activity, click on theFilter
button and selectFrom
as the filter criteria. - Enter the sender's email address: In the
From
field, enter the email address of the sender you want to filter by (e.g.,sender_email_address@sender_domain.com
). - Set the filter operator: Select the filter operator as
Contains
orEquals
, depending on your requirements. - Read the emails: Run the workflow, and the
Read Email
activity will read all emails from the mailbox that match the filter criteria (i.e., emails from the specified sender).
Tips and Variations:
- To read emails from a specific sender and subject, you can add additional filter criteria using the
Subject
field. - To read emails from a specific sender and date range, you can add additional filter criteria using the
Date
field. - To read emails from a specific sender and folder, you can add additional filter criteria using the
Folder
field. - You can also use regular expressions to filter emails based on the sender's email address.
By following these steps, you should be able to read emails from a particular sender using UiPath's Read Email
activity.