async function SendMailv1(request) { console.log('in SendMailv1'); try { const recipient = request.params.email; const otp = request.params.otp; const res = await Parse.Cloud.sendEmail({ from: 'Test user' + ' <' + process.env.MAILGUN_SENDER + '>', recipient: recipient, subject: 'Your OpenSign™ OTP', text: 'This email is a test.', html: "
OTP Verification
Your OTP for LegaDaft verification .
" + otp + '
Hello,
Your OTP for LegaDaft verification .76984
Thank You!