If statment in mail content

If statment in mail content

Hi,

I would like to include if statements in our emails, so I don't have to replicate all our emails as the company expands.  Something along the lines of...

<p>
Hi ${Leads.First Name}, <br/>
Call us on:
                                ${if (country=="uk") {alert("01273 000 000")}
                                    else {alert("+44 1273 000 000")}
                                    }
</p>

This will basically show our UK phone number to UK enquiries and our international phone number to everyone else.

Is this something that is currently possible?  And please excuse my crass code example.

Cheers,