catch unicode errors when validating emails