How to read Email Body in NiFi
Hello
How to read the body of the mail in nifi? I don't see any relevant processor for this.
I see there is an "ExtractEmailAttachments" processor but will it read body reliably? We tried to test and see that it is able to make two flowfiles after executing. One is with a text/plain and has the email body present and another one is text/html having some html content having what we sent in mail as well.
But due to its name being "ExtractEmailAttachment" and not something like ExtractEmailBody I am not sure.
How to effectively and reliably read the mail body? In NiFi 1.28 we had Python (which was able to read the body of mail) but in NiFi 2.8 we don't have Python and able to see GroovyScript which is not allowing import of javax.mail type libraries which is required for writing the logic to fetch the email body.

