<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to read Email Body in NiFi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-read-Email-Body-in-NiFi/m-p/414527#M255451</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114561"&gt;@AlokKumar&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for being part of our community.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That what you need should be possible with the ExtractEmailAttachments.&amp;nbsp;&lt;BR /&gt;This processor extracts the parts based on a MIME format:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Writes Attributes&lt;/P&gt;&lt;DIV&gt;Name Description &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;filename&lt;/TD&gt;&lt;TD&gt;The filename of the attachment&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;email.attachment.parent.filename&lt;/TD&gt;&lt;TD&gt;The filename of the parent FlowFile&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;email.attachment.parent.uuid&lt;/TD&gt;&lt;TD&gt;The UUID of the original FlowFile.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mime.type&lt;/TD&gt;&lt;TD&gt;The mime type of the attachment.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/components/org.apache.nifi.processors.email.ExtractEmailAttachments/" target="_blank" rel="noopener"&gt;https://nifi.apache.org/components/org.apache.nifi.processors.email.ExtractEmailAttachments/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under those MIME types, you should be able to get the&amp;nbsp;text/plain or&amp;nbsp;text/html with the body content of the email, as you need.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2026 13:34:59 GMT</pubDate>
    <dc:creator>vafs</dc:creator>
    <dc:date>2026-09-10T13:34:59Z</dc:date>
    <item>
      <title>How to read Email Body in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-read-Email-Body-in-NiFi/m-p/414526#M255450</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;How to read the body of the mail in nifi? I don't see any relevant processor for this.&lt;BR /&gt;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.&lt;BR /&gt;But due to its name being "ExtractEmailAttachment" and not something like ExtractEmailBody I am not sure.&lt;BR /&gt;&lt;BR /&gt;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.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2026 09:41:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-read-Email-Body-in-NiFi/m-p/414526#M255450</guid>
      <dc:creator>AlokKumar</dc:creator>
      <dc:date>2026-09-10T09:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Email Body in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-read-Email-Body-in-NiFi/m-p/414527#M255451</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114561"&gt;@AlokKumar&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for being part of our community.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That what you need should be possible with the ExtractEmailAttachments.&amp;nbsp;&lt;BR /&gt;This processor extracts the parts based on a MIME format:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Writes Attributes&lt;/P&gt;&lt;DIV&gt;Name Description &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;filename&lt;/TD&gt;&lt;TD&gt;The filename of the attachment&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;email.attachment.parent.filename&lt;/TD&gt;&lt;TD&gt;The filename of the parent FlowFile&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;email.attachment.parent.uuid&lt;/TD&gt;&lt;TD&gt;The UUID of the original FlowFile.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mime.type&lt;/TD&gt;&lt;TD&gt;The mime type of the attachment.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/components/org.apache.nifi.processors.email.ExtractEmailAttachments/" target="_blank" rel="noopener"&gt;https://nifi.apache.org/components/org.apache.nifi.processors.email.ExtractEmailAttachments/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under those MIME types, you should be able to get the&amp;nbsp;text/plain or&amp;nbsp;text/html with the body content of the email, as you need.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2026 13:34:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-read-Email-Body-in-NiFi/m-p/414527#M255451</guid>
      <dc:creator>vafs</dc:creator>
      <dc:date>2026-09-10T13:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Email Body in NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-read-Email-Body-in-NiFi/m-p/414529#M255452</link>
      <description>&lt;P&gt;could you please elaborate&amp;nbsp;&lt;BR /&gt;and also javax.mail. type of import is not available in nifi 2.8 could you please tell if we have some other type for importing.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2026 16:04:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-read-Email-Body-in-NiFi/m-p/414529#M255452</guid>
      <dc:creator>AlokKumar</dc:creator>
      <dc:date>2026-09-10T16:04:54Z</dc:date>
    </item>
  </channel>
</rss>

