How to send HTML OTP Email to user for signup?

I have read it already..
But I am facing trouble in doPost function, when url parameters are given from web component of kodular. I am not able to assign those parameters to html file…

I want expect somewhat like this.

I want to send html email instead of plain text as shown in topic below
Topic: Customizeable Email From Google Scripts