Multipart encodings
Web
Emails
If your requirement is an email with:
- text and html versions
- html version has embedded (inline) images
- attachments
The only structure I found that works with Gmail/Outlook/iPad is:
- mixed
- alternative
- text
- related
- html
- inline image
- inline image
- attachment
- attachment
(source)