log errors when sending e-mail fails in production