You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
DevenThakkar
3 years agoHelpful | Level 5
How can I forward emails with attachments from Gmail to Dropbox?
I want to Autoforward all emails with attachments to Dropbox from gmail. on setting up, gmail says verification email sent to myaddressxxx@addtodropbox.com . please put verification code, to activate...
- 3 years ago
DevenThakkar wrote:
I want to Autoforward all emails with attachments to Dropbox from gmail. on setting up, gmail says verification email sent to myaddressxxx@addtodropbox.com. ... how do i get the verification code which has been sent to myaddressxxx@addtodropbox.com.
You can't. If setting up auto-forward requires verification of the email address, you won't be able to forward to the Dropbox-generated email. You can only receive attachments at the email address. The text/body of an email sent to that address is not retained.
Acajoute
New member | Level 1
I've found a (rather geeky but) nice workaround using App Scripts at script.google.com , with a script that:
- checks my Gmail e-mails
- finds those with attachments (and other criteria such as sender / subject...)
- forwards them to my Dropbox attachment e-mail address
- and adds a tag "Forwarded to Dropbox" to the processed e-mails in my Gmail inbox, so that I know it's done.
This corresponds to a simple plain forwarding action, that requires no prior authorisation from the mailbox you send the email to.
It works perfectly 😃 So my receipts, etc, literally flow directly from my Gmail inbox to the appropriate Dropbox folder (since I've added an Automation in Drobbox to process the received attachments) 😍
I've set the script to run every 5 minutes. It runs at no cost, but with limitations : maximum 100 e-mails sent per day, which is far beyond my needs.
In fact I've asked an AI ((its name starts with "Cla" and ends with "ude"...) to help me with this issue and it did a pretty good job on not only providing the code but also explaining where and how to insert and execute it.
So instead of providing you with the code, I prefer you ask the AI yourself and follow the instructions: doing so, you'll be able to ask for extra explanation according to your needs. I provide an example of prompt further in this message.
I'm a Python developer so I'm not afraid by code (even if App scripts use Javascript that I don't know!), but honestly, being guided by the AI , it was really easy. No code ability required at all, just follow the instructions, copy-paste, and enjoy.
Also very easy to ask for any improvement such as the frequency, the filters...
TL;DR:
1) Ask an AI this:
"I have a Dropbox email address where I can forward attachments to automatically save them in my Dropbox. I want to automate the forwarding of specific emails with attachments from my Gmail account to this Dropbox email address. For example, when I receive emails containing certain keywords or with specific subject lines. Can you help me create a Google Apps Script to do this automatically? Please not only provide the code but also explain step by step how to set it up, test it, and make it run automatically. I'd like to understand each step of the process."
2) Check that the suggested code is secure by asking another AI:
"Can you review this Google Apps Script code and explain what it does? I want to make sure it's safe to use and only performs Gmail to Dropbox email forwarding tasks. Please confirm it doesn't do anything harmful like accessing other data or sending information to unknown parties." + paste the code the 1st AI provided.
In both cases feel free to add that you have no knowledge in coding so that the AIs will answer accordingly.
3) Follow instructions given in point 1, do not hesitate to ask the AI for any clarification. The only thing you must be careful about, is to replace the placeholder for your dropbox e-mail address by your real one, otherwise of course this won't work 😁
Hope it helps!
lor_kort
29 days agoHelpful | Level 5
This works really well!! Now I can auto-tag my invoices and sort them for my accountant 😍
Thank you so much man!
About Integrations
Find solutions to issues with third-party integrations from the Dropbox Community. Share advice and help members with their integration questions.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!