If you have command-line access to a system mail utility (e.g. sendmail), this sounds like something you could script pretty easily just by feeding an input file with the variable fields in it (names, email addresses, any custom text, etc.) and having it generate and shoot out all the emails in one go.
What are you going to do with the final HTML, just copy and paste it into a mail client or what?