improved email validation