Fix HTML parts not being wrapped on send, causing SMTP servers to reject the email.
Fixes #771 (closed)