Added support for embedded mail media in mailouts.