Email content based on form input value, how to create that in an email template

Email content based on form input value, how to create that in an email template

I need to send a pdf in an email within a workflow as an action on a form fill.
The pdf is in relation to some input value in the form, there are different options
PDF A , B or C
How should I handle this? Can I use lead fields in my email template code?