# Gmail node - extract all from: email address

**URL:** <https://community.n8n.io/t/gmail-node-extract-all-from-email-address/10675>\
**Category:** Questions\
**Created:** [January 16, 2022, 7:24pm UTC](https://community.n8n.io/t/gmail-node-extract-all-from-email-address/10675 "2022-01-16T19:24:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Surge.Media](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@Surge.Media](https://community.n8n.io/u/Surge.Media)\
**Post date:** [January 16, 2022, 7:24pm UTC](https://community.n8n.io/t/gmail-node-extract-all-from-email-address/10675/1 "2022-01-16T19:24:27Z")

</div>

## Describe the issue/error/question

I was looking into the gmail node which is great and was wondering how i could write a workflow to get all the messages in my gmail inbox and extract all the from address’s from all emails

## Information on your n8n setup

- **n8n version:** latest version
- **Database you’re using (default: SQLite):**
- **Running n8n with the execution process [own(default), main]:**
- **Running n8n via [Docker, npm, n8n.cloud, desktop app]:** docker

---

<div class="post-metadata">

**Author:** ![RicardoE105](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ricardoe105/32/550_2.png) [@RicardoE105](https://community.n8n.io/u/RicardoE105)\
**Post date:** [January 16, 2022, 11:57pm UTC](https://community.n8n.io/t/gmail-node-extract-all-from-email-address/10675/2 "2022-01-16T23:57:53Z")

</div>

Check the example below. You only need the Gmail node with operation `Get All` and the Item List node to get all the emails.

---

<div class="post-metadata">

**Author:** ![Surge.Media](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@Surge.Media](https://community.n8n.io/u/Surge.Media)\
**Post date:** [January 17, 2022, 6:57am UTC](https://community.n8n.io/t/gmail-node-extract-all-from-email-address/10675/3 "2022-01-17T06:57:34Z")

</div>

Thanks!! Worked amazing!

---

<div class="post-metadata">

**Author:** ![Philip\_Wiggins](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/philip_wiggins/32/137247_2.png) [@Philip\_Wiggins](https://community.n8n.io/u/Philip_Wiggins)\
**Post date:** [January 6, 2023, 2:51pm UTC](https://community.n8n.io/t/gmail-node-extract-all-from-email-address/10675/4 "2023-01-06T14:51:21Z")

</div>

how do you get attachments to download for each message? I’m not seeing a download attachments option like the Gmail Trigger Node.

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [January 6, 2023, 2:56pm UTC](https://community.n8n.io/t/gmail-node-extract-all-from-email-address/10675/5 "2023-01-06T14:56:22Z")

</div>

Hey @Philip_Wiggins,

Normally it would be best to open a new topic and fill out the template provided. But this should be fairly quick. Assuming you are on a recent n8n version under Get Many disable “Simplify” then under Add Option there is a setting to download Attachments this should do what you are after.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/7/f/7fcd8e9de540929f5e5aa6776a959f78966b1bf1.png)

---

<div class="post-metadata">

**Author:** ![Philip\_Wiggins](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/philip_wiggins/32/137247_2.png) [@Philip\_Wiggins](https://community.n8n.io/u/Philip_Wiggins)\
**Post date:** [January 6, 2023, 2:59pm UTC](https://community.n8n.io/t/gmail-node-extract-all-from-email-address/10675/6 "2023-01-06T14:59:43Z")

</div>

👍 I guess on the example above it’s an older node version. I see it pulling directly from node search in my version

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [January 6, 2023, 3:05pm UTC](https://community.n8n.io/t/gmail-node-extract-all-from-email-address/10675/7 "2023-01-06T15:05:39Z")

</div>

You got it, The workflow earlier is from the v1 node but we updated it fairly recently to use what is in the image I posted. That is also another reason for preferring new posts as we can find out the version you are on as we change things fairly quickly.
