Hello Kayako Community, I would like to customize the auto responder email template to optionally format a link at the bottom of the email based on the value of the recipients email address. To be more specific, I would like to format this link at the bottom of the auto responder email if the recipient email address contains the text "KRAFT". For example, if the auto responder email is being sent to firstname.lastname@example.org, the link would not be formatted at the bottom of the email. However, if the auto responder email is being sent to email@example.com or firstname.lastname@example.org, the link would be formatted. I have determined that Kayako variable $_ticket[replyto] contains the recipient email address. I understand how to use the "if" construct in the email template along with how to format the link. The problem I am facing is how to search the Kayako recipient email address for the substring "Kraft" and incorporate this logic into the "if" statement. Please help if you can by providing an excerpt of code. I have been able to use the replace and regex_replace functions against the Kayako recipient email address but am not able to use the resulting string in the "if" statement. All suggestions are appreciated!