add logic to prevent same exception from being mailed more than once