Triggered error pipeline sending mails nonstop after a failure in Ultra pipeline

Triggered error pipeline sends mails nonstop after a failure in Ultra pipeline. Bellow is my design of the error pipeline.
I work with xml files being received in the Ultra pipeline and when some fail occurs error pipeline in triggered, but for 1 file I receive more than 70 mails and it seems like it would not stop.
I looked at the retry interval and other fields and parameters they are as they should configured.

Your Batch size is set to 1, so you are getting an email for each record.
See How to Configure an Email Sender Snap to Avoid Individual Emails per Record

Thank you, this is very helpful.