only use multipart/related MIME content-type if there are inline attachments