title: How to add advanced if condition in AWS SES HTML template?
body: <p>Is there a way to create a conditional test that an object meets specific criteria more than exists/doesn't exist in an AWS SES HTML template?  For example, <code>{{#if x &gt; 5}}{{x}}{{/if}}</code> instead of <code>{{#if x}}{{x}}{{/if}}</code>?</p>
  <p>I've read the docs here (<a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-advanced.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-advanced.html</a>) and seen a good SO question/answer here (<a href="https://stackoverflow.com/questions/54474310/how-to-add-add-if-condition-in-aws-ses-html-template">How to add add if condition in AWS SES html template?</a>), but neither one talked about an <code>if</code> statement that was more than a check on if an object exists.</p>