add support for type=email inputs