fn mimepart_to_data_url(mail: &ParsedMail<'_>) -> Result<String>
Convert a mime part to a data: url as defined in RFC 2397.