An email address has two parts:
- the local part (before the "@") = max 64 characters
- the domain part (after the "@") = max 255 characters
So maximum length is 64 + @ + 255 = 320 characters
https://www.rfc-editor.org/rfc/rfc5321.html#section-4.5.3.1