# Saving email attachment in gmail to local folder

**URL:** <https://discourse.nodered.org/t/saving-email-attachment-in-gmail-to-local-folder/29368>\
**Category:** General\
**Created:** [2 July 2020 10:36 UTC](https://discourse.nodered.org/t/saving-email-attachment-in-gmail-to-local-folder/29368 "2020-07-02T10:36:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cooolguyselva](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@cooolguyselva](https://discourse.nodered.org/u/cooolguyselva)\
**Post date:** [2 July 2020 10:36 UTC](https://discourse.nodered.org/t/saving-email-attachment-in-gmail-to-local-folder/29368/1 "2020-07-02T10:36:05Z")

</div>

Hi All,

I am relatively new to Node Red . I am trying to save attachment in gmail to local folder and I am getting confused. Can someone guide me on this?

thanks in advance!

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [4 July 2020 16:52 UTC](https://discourse.nodered.org/t/saving-email-attachment-in-gmail-to-local-folder/29368/2 "2020-07-04T16:52:26Z")

</div>

What have you tried so far?

Remember that raw emails are quite complex, especially when they have attachments. If you put a debug node after you have retrieved the email, you should be able to see what object structure you end up with. The debug panel also lets you copy the object "path" to a specific property.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 September 2020 16:52 UTC](https://discourse.nodered.org/t/saving-email-attachment-in-gmail-to-local-folder/29368/3 "2020-09-02T16:52:26Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
