'How to write condtional statement in Email development for displaying personalised content?

I making this email template which requires personalization of content. For example, an email should only display some specific text if there is zipcode given. If not, then display nothing.

in laymen's something like this

if there is a zipcode then display if not then don't.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source