Is it possible to create an email in SugarCRM that uses conditional statements?

My purpose is, our leads have a variety of different information, some may have information in a field while others are blank. I want to dynamically insert the information into the email for the records that HAVE the information and insert a generic message for those that don't contain the information.

Ex.
Record:
Name: John
Interested in: Laptops

Record: Sally
Interested in: BLANK

For John, I would want "Hi John, I noticed you're interested in laptops".
For Sally, I would want "Hi Sally, I noticed you're interested in our products".