Send an email when there is an error in production