# Only 1 attachment from Gmail Reader for mail with multiple attachments

**URL:** https://forum.gumloop.com/t/only-1-attachment-from-gmail-reader-for-mail-with-multiple-attachments/821
**Category:** Get Help
**Tags:** Gmail-Reader
**Created:** [February 6, 2025, 7:24am UTC](https://forum.gumloop.com/t/only-1-attachment-from-gmail-reader-for-mail-with-multiple-attachments/821 "2025-02-06T07:24:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sstar](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@sstar](https://forum.gumloop.com/u/sstar)
#### Post date: [February 6, 2025, 7:24am UTC](https://forum.gumloop.com/t/only-1-attachment-from-gmail-reader-for-mail-with-multiple-attachments/821/1 "2025-02-06T07:24:27Z")

</div>

I want to use Gmail Reader for extracting a PDF attachment to PDF reader. The email contains two attachments: one is a .pdf file, and the other is an .ics file. However, the attached\_file\_names of Gmail Reader only shows the filename of the .ics file, no the .pdf file.

my link: [https://www.gumloop.com/pipeline?workbook\_id=c3aZtzbarwsD4JAHHRATdz&run\_id=gotaue7UDQQgFB8Q7xPkcu](https://www.gumloop.com/pipeline?workbook_id=c3aZtzbarwsD4JAHHRATdz&run_id=gotaue7UDQQgFB8Q7xPkcu)

---

<div class="post-metadata">

### Author: ![Wasay-Gumloop](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/wasay-gumloop/32/69_2.png) [@Wasay-Gumloop](https://forum.gumloop.com/u/Wasay-Gumloop)
#### Post date: [February 6, 2025, 10:28am UTC](https://forum.gumloop.com/t/only-1-attachment-from-gmail-reader-for-mail-with-multiple-attachments/821/2 "2025-02-06T10:28:15Z")

</div>

Hey @sstar - For multiple attachments the output from the Gmail reader is the file names separated by a comma. So in your case this was the output:

```auto
gotaue7UDQQgFB8Q7xPkcu/ESUN_Estatement_11312.pdf,gotaue7UDQQgFB8Q7xPkcu/設定繳款提醒(iOS手機裝置請使用內建郵件App開啟)_11312.ics

```

Both the PDF and ICS files are available here you just need to extract them. You can use the `Split Text` node here to split the output which is separated by a comma and get a list of all the files.

Let me know if that works for you.

 ![Screenshot 2025-02-06 at 3.27.04 PM](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/7afe7454c43b1d79e108e3eeb25e2fe9e385a617.png)

---

<div class="post-metadata">

### Author: ![sstar](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@sstar](https://forum.gumloop.com/u/sstar)
#### Post date: [February 6, 2025, 11:41am UTC](https://forum.gumloop.com/t/only-1-attachment-from-gmail-reader-for-mail-with-multiple-attachments/821/3 "2025-02-06T11:41:29Z")

</div>

Hi @Wasay-Gumloop , thank you so much! It works.

However, something was wrong at the step: Extract Data. Should I open a new post for the problem?  
Failed link: [https://www.gumloop.com/pipeline?workbook\_id=c3aZtzbarwsD4JAHHRATdz&run\_id=LBhvCgGz9XBRzNmjYWwfp2](https://www.gumloop.com/pipeline?workbook_id=c3aZtzbarwsD4JAHHRATdz&run_id=LBhvCgGz9XBRzNmjYWwfp2)

---

<div class="post-metadata">

### Author: ![Wasay-Gumloop](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/wasay-gumloop/32/69_2.png) [@Wasay-Gumloop](https://forum.gumloop.com/u/Wasay-Gumloop)
#### Post date: [February 7, 2025, 12:52am UTC](https://forum.gumloop.com/t/only-1-attachment-from-gmail-reader-for-mail-with-multiple-attachments/821/4 "2025-02-07T00:52:20Z")

</div>

It looks like DeepSeek timed-out here. Their API has frequent outages so the service can be sporadic

If you try again or switch the model it should work as expected.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/d02ff8efcde6ac5d3ac8aa0376137d5f804da549.png) [@system](https://forum.gumloop.com/u/system)
#### Post date: [February 7, 2025, 2:44am UTC](https://forum.gumloop.com/t/only-1-attachment-from-gmail-reader-for-mail-with-multiple-attachments/821/5 "2025-02-07T02:44:19Z")

</div>

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