Email Template -- Unable to pass record id

Hi All,

In Email Template i need to add the record id – Please do the needful

url: https://mydoamin/index.php?module=Leads&action=DetailView&record=$lead_id

unable to pass the record id .

Not sure exactly how your doing this by give the following a try;
Try using just $id

Also for email template you may have to use $contacts_id inside of $lead_id