if statements in email templates

I have this issue with needing to send different images to different customers, so an if statement would be primo! (That or a smart content setting for the image block.)