Add ability to send an email in case of a bad commit merge