Fix bug 852214: Add support for multipart text and html emails.