How to break a for each loop

[How to break out of a foreach once a condition is met?]

I am using if else inside a for each loop to save an attachment from one particular email and looks like it does not stop to loop through even after the attachment is saved. How to break the loop

You can use the ‘break’ activity