Check if the given email address is valid or not