# Read/Write/Save attachments from EmailReadImap

**URL:** <https://community.n8n.io/t/read-write-save-attachments-from-emailreadimap/283>\
**Category:** Questions\
**Created:** [Outubro 25, 2019, 11:45am UTC](https://community.n8n.io/t/read-write-save-attachments-from-emailreadimap/283 "2019-10-25T11:45:48Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [Outubro 29, 2019, 8:27pm UTC](https://community.n8n.io/t/read-write-save-attachments-from-emailreadimap/283/11 "2019-10-29T20:27:35Z")

</div>

Yes the problem is here that there is currently no node yet to move data between the “binary” and “json” data. I Try to create one soon.

Until then you can use the workaround I did post here:

> [@Write JSON to file](http://community.n8n.io/t/write-json-to-file/160/2):
>
> Uh yes, you are right! The problem is that the “Write Binary File” expects binary data. The JSON data is, however, JSON wink There should really be a node that allows moving data around between both of them. For now, it can be done with a Function-Node. At least till a proper one is in place. Pasted an example of how you can do that to the end of the message. The first node you can remove, it is only to create the example data. The second node named “Make Binary” is the important one with the…

---

_[View the full topic](https://community.n8n.io/t/read-write-save-attachments-from-emailreadimap/283)._
