Use filter_var for email validation