Hello Sascha,
Thanks for the response. I found a workaround, which is to use the static part of the URL in the Mail Form and concatenate only the dynamic part using the Mailform attribute. Luckily for me there was only 1 attribute or else this might not have worked for me.
Kind regards,
Gaurav