Hello @AlokKumar,
Thanks for being part of our community.
That what you need should be possible with the ExtractEmailAttachments.
This processor extracts the parts based on a MIME format:
Writes Attributes
Name Description
| filename | The filename of the attachment |
| email.attachment.parent.filename | The filename of the parent FlowFile |
| email.attachment.parent.uuid | The UUID of the original FlowFile. |
| mime.type | The mime type of the attachment. |
https://nifi.apache.org/components/org.apache.nifi.processors.email.ExtractEmailAttachments/
Under those MIME types, you should be able to get the text/plain or text/html with the body content of the email, as you need.
Regards,
Andrés Fallas
--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs-up button.