Make sure email input fields also get serialized.

When submitting a form, email input types didn't get serialized. An extra case fixed this issue.