Configuration on sending emails on exceptions