How to add if else condition in this templates of sms/email

How to add if else condition and add some js operation like date conversion and all

`Dear {{$context.data.applicationId.applicantId.name}},

Date: {{new Date($context.data.applicationId.bookingId.createdAt).toLocaleDateString(‘hi-IN’,{ year: ‘numeric’, month: ‘long’, day: ‘numeric’ })}}

Thankyou`

In the future, we may support template engines such as Handlebars and EJS for configuring email templates.