in emails, wrap html and images in a multipart/mixed structure