manage fatal error with email