I would like to trigger an email from a report/analytics. This email is required to have an if else block based on one of the columns in the analytics.
I would want to trigger emails in the language of the user which are being returned via the report, for this I am printing the User's language in the report in an attribute. Using this i want to build an if else block.
Could anyone please provide a syntax of if else to achieve this.
Also using any user attribute is in an analytics email template is resulting in the following error: