Use localized error message for email validator

Fixes #2368