E-mail the invoice as embedded html

Not sure about that. HTML markup within email message would have to be slightly different from what is used for printing (or attachments).

Anyway, variables on email templates need to be supported first. Then discussion can move further.