Email templates are stored in MySQL as a TEXT.
That’s a 64KB max.
One of the things that’s handy to do is to base64 encode images to include in emails.
Perhaps a MEDIUMTEXT might be a better size.
64KB seems a bit too limited. I have some templates that I’d like to use that are 100KB or so.