Fix/email

Maybe using a number of retries would allow to say a test has failed