I would to use reply email template like this: (we are migrating from other support system)
Hello %{recipient.name.first} :
{if %{ticket.status}=close}
hey the operator closed this ticket because blabla
{else}
hey this ticket is still open, please answer
{endif}
Any clue ? or any devs that make the mod for me ?