# Node-red-node-email FOLDERS

**URL:** <https://discourse.nodered.org/t/node-red-node-email-folders/33243>\
**Category:** General\
**Created:** [23 September 2020 17:50 UTC](https://discourse.nodered.org/t/node-red-node-email-folders/33243 "2020-09-23T17:50:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricardo-Miguel-Calde](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@Ricardo-Miguel-Calde](https://discourse.nodered.org/u/Ricardo-Miguel-Calde)\
**Post date:** [23 September 2020 17:50 UTC](https://discourse.nodered.org/t/node-red-node-email-folders/33243/1 "2020-09-23T17:50:27Z")

</div>

How can we access SENT, TRASH or SPAM folder please?

It works fine with inbox and some other folder but not those ones...

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [23 September 2020 22:12 UTC](https://discourse.nodered.org/t/node-red-node-email-folders/33243/3 "2020-09-23T22:12:05Z")

</div>

If this is from Gmail then there are some other folders - on my account they are under `[Google Mail]` - and include - 'All Mail', Bin, Drafts, Important, 'Sent Mail', and Starred - but not Spam... so to get Sent use `[Google Mail]/Sent Mail`

While searching I have also seen references to `[Gmail]/Sent Mail` so it may depend how/when you signed up for your account.... I have also seen reference that these may also be translated to national language equivalents - so you may need to try a few.

I have just added to the error message when a folder fetch fails to return a list of valid folders to help make this easier. pushed as version 1.7.11

---

<div class="post-metadata">

**Author:** ![Ricardo-Miguel-Calde](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@Ricardo-Miguel-Calde](https://discourse.nodered.org/u/Ricardo-Miguel-Calde)\
**Post date:** [24 September 2020 15:52 UTC](https://discourse.nodered.org/t/node-red-node-email-folders/33243/4 "2020-09-24T15:52:33Z")

</div>

> [@dceejay](#):
>
> [Google Mail]

Thanks for your help. A fact is that some of the emails are caught by the spam filter more frequenty than it should so that option would be important for me... I will investigate some other way to archive what I'm looking for but again, thank you for your help.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [24 September 2020 16:07 UTC](https://discourse.nodered.org/t/node-red-node-email-folders/33243/5 "2020-09-24T16:07:01Z")

</div>

no problem - do let us know if you find a way.

---

<div class="post-metadata">

**Author:** ![Ricardo-Miguel-Calde](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@Ricardo-Miguel-Calde](https://discourse.nodered.org/u/Ricardo-Miguel-Calde)\
**Post date:** [24 September 2020 16:28 UTC](https://discourse.nodered.org/t/node-red-node-email-folders/33243/6 "2020-09-24T16:28:07Z")

</div>

Found it!

The folder **is case sensitive** so I give it a try with the options that you mentioned...

So for SPAM folder (in my case) , [Gmail]/Spam  
works

I'm not sure also if enabling the spam folder in IMAP (gmail options) helped...  
Thank you for your help.

---

<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:** [8 October 2020 16:28 UTC](https://discourse.nodered.org/t/node-red-node-email-folders/33243/7 "2020-10-08T16:28:19Z")

</div>

Closed on 8 October 2020 16:28 UTC

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