How to send email to a lead using a template

How to send email to a lead using a template

I've configured an email template as described here
How can I make use of this template in Deluge function?