How to Send E-mail for System Exception in RE framework

But if there is a system exception, the bot retries again. And if the problem isn’t solved, won’t that send multiple mails? After each try.