interpret conditionals in notification templates