How to download file >25MB from email

Hello everyone,
Im facing a problem when i want to use Email Trigger(IMAP) node to listen to emails are sent to me. When im using Gmail and a sender send an email that larger than 25MB, it said like the image below and the email trigger cannot get the file sent. Can someone please share me some experience if you encountered the same problem and how can i download the file >25MB from email sent to me.
Thank you!

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.112.5
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: windows

Hey @TrinhNhatHuy !

“Your file is large, it will be sent as Google Drive link”, the “attachment”

It means is no longer a true email attachment…? then is just a Google Drive file that Gmail references in the message.

Maybe parse the link and use a Drive node after to download it…

Cheers!

2 Likes

Dear @Parintele_Damaskin,

Thank you so much for your response, i have compressed the file and sent and then decompressed it inside n8n to fix this problem.

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