Add graceful exception handling for SMS and email