Hi @TIN_RPA
Read your excel sheet with subject & Email Address information & save it in Datatable
After reading the mails by using the Get outlook mail messages. Loop over it by using For each inside that put another for each row in data table which will iterate through our excel values data table. Put a if condition like below to check both the subject & Email address comparison.
CurrentRow(“Subject”).ToString = “Test” AND CurrentRow(“Email”).ToString = currentItem.SenderEmailAddress.ToString
For your ref:
Email.zip (10.5 KB)
Hope this helps