How to filter emails based on sender s email addresses

0 votes
I want to filter emails from my inbox based on sender's email addresses. Can I automate this task using UIPath?
Mar 11, 2019 in RPA by Avantika
5,248 views

1 answer to this question.

0 votes

Hi Avantika, you can automate the filtering of your emails based on email ids using UiPath. Follow the below mentioned steps one by one in UiPath:

1. Create a Sequence and add 'Get IMAP Mail Messages'. Then create email, password and mailMessages variables. Set your email and password for accessing your inbox. Set mailMessages type as List<System.Net.Mail.MailMessage>.

2. Now in Properties, set the Port as 993 and Server as "imap.gmail.com". Also enter email and password into Logon section.

3. Set the count of mails you want to filter in Top property. Uncheck OnlyUnreadMessages option to filter emails from already read mails.

4. Now in sequence, drag ForEach activity and iterate over mailMessages list. Inside foreach, add If activity to check each mail's sender email address using mail.From.Address.Contains(""). If the condition holds true, do whatever task you wish to do. For false condition, also define a task.

And that's it. You have filtered emails from your inbox.

answered Mar 11, 2019 by Abha
• 28,140 points

Related Questions In RPA

0 votes
1 answer

How to wait for an image to appear on a certain application?

Here are the steps that i performed: 1- ...READ MORE

answered Jul 27, 2018 in RPA by ffdfd
• 5,550 points
603 views
0 votes
1 answer

How to add filter to excel table in UI Path?

If you use *my value as the ...READ MORE

answered Aug 6, 2018 in RPA by wrecker
• 3,110 points
1,100 views
0 votes
1 answer

BluePrism: how to invoke javascript function when clicking on an HTML element?

Use a application modeller to spy the ...READ MORE

answered Oct 10, 2018 in RPA by Priyaj
• 58,090 points
6,045 views
+1 vote
1 answer

How to send an attachment with an email using UiPath?

Hey Rashid, if you wish to send ...READ MORE

answered Mar 11, 2019 in RPA by Anvi
• 14,150 points
18,381 views
0 votes
0 answers

Getting e-mails from from mailbox in UiPath

I want to access all the unread ...READ MORE

Mar 6, 2019 in RPA by Akanksha
932 views
0 votes
1 answer

Automation in Uipath

you can use the Database package for connecting  ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
1,339 views
0 votes
1 answer

UiPath vs Workfusion

in WorkFusion, you can create a script ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
2,421 views
0 votes
1 answer

Surface automation in rpa?

Surface automation is a visual automation that is done using ...READ MORE

answered Apr 20, 2018 in RPA by wrecker
• 3,110 points
1,557 views
0 votes
1 answer
0 votes
1 answer

How to read data from a excel, based on that data, check in the corresponding checkbox in browser appln? Uipath

Hi, to achieve this, you can perform ...READ MORE

answered Oct 10, 2019 in RPA by Abha
• 28,140 points
2,523 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP