feat(input): support multiple attribute for email

Closes #8986
I would really like to use `Array.prototype.every` here instead of this `for` loop. Since IE8 is no longer supported, can we do that?