[#48] fixes for email validation