Improved email validation