Exception handling for email failures