File attachments from Gdrive not attaching to email but working when save as draft is used

I am uploading a csv file with and looping through it and sending emails including an attachment per row based on a link to each pdf on a gdrive.

Everything works when I choose “Save as draft” on the gmail sender (both test emails are saved as drafts with their specific attachments attached). When I try to send directly (not draft) the emails are sent but the attachments are not attached.

https://www.gumloop.com/pipeline?run_id=54soTiRrdZDZxgar2JiY4P&workbook_id=8m2dNpkrtCGoZfxwFwgHvv

Hey @gavraz! If you’re reporting an issue with a flow or an error in a run, please include the run link and make sure it’s shareable so we can take a look.

  1. Find your run link on the history page. Format: https://www.gumloop.com/pipeline?run_id={{your_run_id}}&workbook_id={{workbook_id}}

  2. Make it shareable by clicking “Share” → ‘Anyone with the link can view’ in the top-left corner of the flow screen.
    GIF guide

  3. Provide details about the issue—more context helps us troubleshoot faster.

You can find your run history here: https://www.gumloop.com/history

Hey @gavraz — thanks for flagging this. Would you be able to share the CSV file either here or via email at wasay@gumloop.com? I haven’t been able to reproduce the issue on my end, unfortunately. Could you also share a screenshot of what the email looks like for you?

Lastly, are you using Gmail directly, or another email client on top of it?

Hi Wasay.

I’ve tested it using gmail directly to rule out my mac email client after I read some other posts - same issue either way. CSV attached. It is strange that it works when I use the save draft option but not when I go straight to email - almost as if the attachment flow is completing post the email send.

Debtors - Stage 1 (2).csv (273 Bytes)

I duplicated the flow to use a Google Sheet instead of the pdf and the same thing happens. The emails are sent without the files attached. When I turn on the “Save a draft” flag both emails are created in Gmail drafts with the files attached.

Here is the runID for the GSheets version which might be easier to troubleshoot: https://www.gumloop.com/pipeline?workbook_id=j5cfzehjMUGEkbrZ7oJhUg&run_id=D3MZPXxtCbzMaBUx4w9jom

Hey @gavraz – Thank you for the info, really appreciate it! I was able to reproduce the issue, its with how files are handled when send_as_html is enabled in Gmail Sender node. I’ve created a ticket to fix this issue and will keep you posted.

Apologies for the trouble!

1 Like

Hey @gavraz – This issue should be resolved now, you’d have to delete and add back the Gmail Sender node. Let me know if it works as expected now.

Hi Wasay,

I deleted the Gmail Sender node and added a new one (twice just to be sure) - still getting the same result - no attachments included when sending in html mode.

I turned off html and the attachments are included.

I turned html back on and removed my html body and just put “test” as the body and no attachments were included.

Looks like the issue is around the “html” flag being enabled.

Best
Gavin

Hey Gavin,

Apologies for the consistent issue, we had to rollback the feature due to an issue but it should be working now, can you please test it out?

If it still doesn’t work can you share the latest run link?

What we’ve fixed is attachment issue with send as HTML enabled but if that doesn’t work for you the underlying issue might be something else.

He Wasay

It is working!

Thank you
G

Let’s go!! Sent you some credits to make up for the trouble :slight_smile:

Thank you - appreciate it.

1 Like

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