Replace email exception handling with Sentry.