We have “SOURCE” shown in our notification emails to agents for FYI purposes but the SOURCE field is showing as a number rather than the text as shown below.
Is there a way to get SOURCE to show EMAIL instead of 1 as 1 equals EMAIL?

We have “SOURCE” shown in our notification emails to agents for FYI purposes but the SOURCE field is showing as a number rather than the text as shown below.
Is there a way to get SOURCE to show EMAIL instead of 1 as 1 equals EMAIL?
Best answer by Daniel Söderlund
I should have done some tests before, the placeholder is a number and not string.
I tested and got this to work. My IF works as well if you remove the ‘
{% case ticket.source %}
{% when 1 %} Source: E-Mail
{% when 2 %}Source: Portal
{% when 3 %}Source: Phone
{% when 4 %}Source: Chat
{% when 5 %}Source: Feedback Widget
{% when 6 %}Source: Outbound Email
{% else %}Source: Unknown Source
{% endcase %}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.