File submit to email button foundation

I would like to add a file submit button to my form. I would like the file to be send together (or if necessary separately, but then the receiver needs to know it belongs to the info given in the form) with the rest of the dat to the email address where the form goes to. I am able to make a file submit button, but that gets the file uploaded, and that not what I want.

Hey Joost,
I replied to your ticket asking about this that you sent into support. Did you not get my response?

Hi Rob, yeah did get your respons, but couldn’t figure out how to get the file send to an email address, and understood you meant I had to solve that myself. So I thought I’ld ask the community…

Amazing fast respons Rob, thx! I always feel kind of like I’m bothering you with my lack of knowledge.

Kind regards

Joost Gravendeel