# Gmail, IMAP & textHtml

**URL:** <https://community.n8n.io/t/gmail-imap-texthtml/1705>\
**Category:** Questions\
**Created:** [July 5, 2020, 9:53pm UTC](https://community.n8n.io/t/gmail-imap-texthtml/1705 "2020-07-05T21:53:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![H1D](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/h1d/32/2232_2.png) [@H1D](https://community.n8n.io/u/H1D)\
**Post date:** [July 5, 2020, 9:53pm UTC](https://community.n8n.io/t/gmail-imap-texthtml/1705/1 "2020-07-05T21:53:17Z")

</div>

Trying to use “EmailReadImap” node to fetch emails. This is what I got as node result:

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/0/0b840af83ffecb63f43403ae1727e6d88f1a7ead.png)  
Is there a way to parse this binary data and get message body as text?

BTW “textPlain” is empty for some reason:

---

<div class="post-metadata">

**Author:** ![smamudhan](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@smamudhan](https://community.n8n.io/u/smamudhan)\
**Post date:** [July 9, 2020, 12:51pm UTC](https://community.n8n.io/t/gmail-imap-texthtml/1705/2 "2020-07-09T12:51:24Z")

</div>

Not sure why “textPlain” is empty; I’ve never had that error.  
I use a Set node to simply filter out the scruff 🙂  
Here’s a part of my workflow, if it helps
