How to add a previously uploaded file to an email as an attachment

Hey guys,
I am brand new to Camunda and I’m running into a problem right now.
I have a form, in which users are supposed to upload a PDF file, which should automatically be send to a specific mail as an attachement.

Right now I am using the the following Tag in my form:

<input type="file" cam-variable-name="uploadedFile" cam-variable-type="File" accept=".pdf">

In the Camunda Modular, I use a Send-Task, which sends an E-Mail that contains the Cam-Variable.
When receiving the mail, it only contains a “random” String of letters and numbers, instead of the file or atleast a download link, that would lead to the file.

What am I doing wrong?

Refer the thread,