A way to identify attached vs embedded images in incoming mail.
In incoming mails all the files - embedded or attached - come in one big bunch.
It's also impossible to re-build the HTML, because the identifiers aren't there.
If there was an extra array passed on with the request, containing file names with their original identifiers, this would become possible.
+1 on this. In our particular scenario it's impossible to tell which files are attachments vs inline, since the content-disposition is removed from each form part. Currently, our only workaround to see the correct content-disposition for an attachment part is to parse the MIME body ourselves.