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's avatar
DevenThakkar
Helpful | Level 5
3 years ago

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 rule for autoforward. how do i get the verification code which has been sent to myaddressxxx@addtodropbox.com. Please help, as without this this feature is of minimal use.


  • 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's avatar
    Acajoute
    New member | Level 1

    Hello everyone, same problem here. Which is: 
    - I want to automatically forward some emails with attachement to my Dropbox attachment email address
    - to create this automation, my e-mail address provider (tested with gmail.com and proton.me) first sends a confirmation e-mail to my Dropbox attachement email adress to get its consent. No forwarding is possible until the consent is confirmed (by clicking a link in the message).
    - since I can't access this message I can't validate the request for consent. So automatic forwarding is not possible. 

    Solution would be to have access to links sent to this email address, so that I could accept the forwarding.

  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II

    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.

     

     

    • DevenThakkar's avatar
      DevenThakkar
      Helpful | Level 5

      thanks for reply.

       

      in fact I want attachments to be forwarded from Gmail, but the first step of verifycode is obstacle. if once I get verification code somehow, I can then auto forward all gmail attachments to addtodropbox folder.

       

      but there is no way of getting the verification code of forwarded address. in case gmail can forward the verification code as attachment or body matter as  jpg file etc  then I would have been possible.... but no way as of now it seems

       

      thanks again for reply

    • DevenThakkar's avatar
      DevenThakkar
      Helpful | Level 5

      I found docparser have solution for it, may be dropbox can apply same for itself...as below.... but there no way I can contact dropbox....

       

       

       

      Every document parser in your account has a unique and secret email address to which you can forward emails with PDF attachments. With Gmail, it is easy to set up a filter which will automatically forward specific emails to your Document Parser - all you need to do is to create a filter in Gmail and define a forwarding address for this filter. As the target, you would then just add the unique and secret email address of your Document parser. You'll find this email address inside the settings of your Document Parser in 'Email Reception'.

      You can read about how to set up a filter directly at  Google support website

      After creating the forwarding filter in Gmail, a confirmation code needs to be entered. This confirmation code is inside an email which Google sends to your Docparser email address. Docparser is able to identify this kind of email and will automatically send the confirmation back to your Gmail account. Just check your Gmail account one minute after creating the filter and you should see an email from us with the confirmation code. Enter the confirmation code and your Gmail forwarding filter will become active. 

      If you aren't able to receive the confirmation code email in your Docparser inbox, the issue may be that your Gmail is set to non-English. Due to a limitation our app requires the Gmail the filter is being set up on to be set on English, so temporarily changing your language in Gmail to English and re-sending the email should resolve the problem.

      To recap, here is how to set up a Gmail forwarding filter with Docparser:

      1. Verify that your Gmail account language is English
      2. Create a forwarding filter in your Gmail account
      3. Check your inbox and receive the confirmation code from Gmail (can take up to 3 minutes)
      4. Enter the confirmation code in Gmail forwarding filter settings

       

       

       

       

      • Rich's avatar
        Rich
        Icon for Super User II rankSuper User II

        DevenThakkar wrote:

        I found docparser have solution for it, may be dropbox can apply same for itself...as below.... but there no way I can contact dropbox....


        You can post feature requests in the Share an idea section of the forums.

    • Hannah's avatar
      Hannah
      Icon for Dropbox Staff rankDropbox Staff

      Hey lor_kort, sorry to see you're having an issue.

      Can you describe the exact issue, so we can assist you further?

      Any additional info would be really helpful.

      • lor_kort's avatar
        lor_kort
        Helpful | Level 5

        Reading this thread will provide you with all necessary info

  • Acajoute's avatar
    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's avatar
      lor_kort
      Helpful | Level 5

      This works really well!! Now I can auto-tag my invoices and sort them for my accountant 😍

      Thank you so much man! 

  • raphaelamann's avatar
    raphaelamann
    Helpful | Level 6

    For activation of the Gmail Auto-Forward/Filter-Function, a verification code is sent from Gmail directly to the AddToDropbox-Address (***@addtodropbox.com).

     

    Currently there seems to be no possibility to get access to the content (and therefore the confirmation code) of it - as it contains no attachment it gets lost in universe.

     

    Due to this, it is currently not possible to activate the redirection, which would be very useful for any kind of bills and so on.

     

    Maybe a section underneath the 'AddToDropbox'-Settings could be added where the e.g. last 3 received emails can be accessed in full text view.

     

    Thanks in advance, 

    Raphael

    • Hannah's avatar
      Hannah
      Icon for Dropbox Staff rankDropbox Staff

      Thanks for the clarification and the additional info on this, Raphael.

       

      We really appreciate you taking the time to share this with us.

       

      I will make sure your comments are passed along to our team.

       

      If you have any questions, let us know and have a wonderful weekend!

      • twisting's avatar
        twisting
        Explorer | Level 4

        hoping for this solution to be available asap as well.

        docparser has overcome this obstacle in their setup.

        We just need a way for dropbox to advise us of the confirmation code sent from google.

        all it needs is a filter to look for the incoming email address from google for all addtodropbox addresses and then forward that email to the dropbox user.

        or something like that.

        good luck

    • Walter's avatar
      Walter
      Icon for Dropbox Staff rankDropbox Staff

      Hey raphaelamann, thanks for posting on our Community!

       

      Can you please clarify if you're referring to the Dropbox Gmail Integration or if you had something else in mind, like the Email to Dropbox feature?

       

      If you could also provide some additional information about what you'd like to accomplish or what you'd like to see implemented, I'd appreciate it. 

       

      Thanks!

    • raphaelamann's avatar
      raphaelamann
      Helpful | Level 6

      Hi Hannah, hi Walter, 

      thanks for your interest - please excuxe my late reply.

       

      I am going to explain my thoughts from the ground up:

      Imagine getting e-mail invoices from different sources on gmail. Wouldn't it be practical to directly redirect that to your personal AddToDropbox-address? For that purpose gmail offers what they call a "filter", which allows the specification of filter rules executed every time when new e-mails arrive.

       

      In my case it would be a rule checking if the sender's email is equal to the one I always receive my monthly bill from and also if the email contains an attachment. 

       

       

       

       

       

      If all of these conditions apply, it is possible to define what should be happening to this email, for example move to a specific folder, mark as important or also redirect it to a specific e-mail address, which is means of choice for my plan.

       

       

       

       

      When you want to specify a new redirection e-mail-adress, you are led to a separate settings page, where you can add this e-mail-address (in this case the @addtodropbox.com address.

       

       

       

       

      After clicking on "Next", the problem comes up: A verification e-mail is sent to this address required to confirm you are the owner of it.

       

       

      Currently there is no possibility to get access to this email send to the @addtodropbox.com-address - therefore it is not possible to automate the redirection of emails by the gmail filter functionality.

       

      My recommendation: Add a functionality to the setting's "Email to Dropbox"-section allowing the user to view the i.e. last 3 e-mails received by the @addtodropbox.com-address in full-text.

       


       

      By this improvement it would be possible to get to know the gmail confirmation code - I bet this is also the case by any other email providers.

       

      See also https://www.dropboxforum.com/t5/Apps-and-Installations/How-can-I-forward-emails-with-attachments-from-Gmail-to-Dropbox/m-p/611820/highlight/true#M40438 

       

      Thanks in advance, 

      Raphael