Since JEMH 2.7.56
Scenario
If you would like to extract the particular part from the email as per example:
The following line of code is required in the Script Field Processor:
resultMap.put("comment",jemhUtils.getMessagePartText("message/delivery-status"));
Result:
The extracted part of the email has been added in the description and attached to the issue as the attachment: