pattern="[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,4}"
Dear jetbrains, 5 character TLDs exist. Stop trying to do email validation, the validation is the email arriving or not.
This is even more silly when i can just edit it in dev tools, with no backend validation.