Search For Email and Start The Process


I used Get IMAP Mail to connect Gmail email then I used for each activity to read unread emails then I used If condition activity to search for a specific email.

Please I need your help in the below point:

  • After I find the specific email. I need to stop the loop and move to the next activity
  • After the process is completed I need to make the email as read then come back to for each activity to search if there is another email have the same condition

Hi @aalaghbari,

You can achieve that using Flow Chart there instead of For Each Activity.

After getting a list of unread email, Have a decision block, Based on that Condition you can execute a set of activities for those passed and else a another set of approach.

Warm Regards,
Ranjith Udayakumar

1 Like