The updated Email Receiver QPAC allows you to extract email attachments and store them in a Workflow List variable. They will be stored as a List of Documents, which makes it easy to attach these documents to a task using the updated User QPAC.
listAttributes()on the Document objects in the list, returns a Set of length 0).
setDocAttribute(com.adobe.idp.Document, String, String)
null, even for very common files like PDF (I guess the email receiver does not call
setContentType(String)on Document objects it instantiates).
getFile().getName()is pretty useless, as it returns some random number like '3388160831619972562'.