Change field type from text to email for email inputs