I want to filter incoming agent notifications by the Zammad group in my email client (or apply filtering rules on the server for incoming email).
As a Zammad agent, I’m assigned to multiple Zammad groups. Currently, I receive many ticket emails (updated ticket, etc.) the day and it’s hard to keep the overview in my email client, since all agent notifications move to the same email folder.
First thought was to adjust the notification templates app/views/mailer/ticket_create/$LANG.html.erb, but after a Zammad package update, these templates will be overwritten.
It would be beneficial, if in the email an X-header could be set like X-Zammad-TicketGroup = ticket.group.name
(or similar).
With this email header, I could easily filter these agent notification email.
Best regards, Matthias Wiesner
Zammad Version 2.3.x
Ubuntu 16.04.4 LTS (Xenial Xerus)
A simple workaround without any code change might be to configure your notification mails with the information you need for filtering.
If you put #{ticket.group.name} in the subject of the mail you should see the group the ticket belongs to in the subject of every notification mail.
So you could easy filter by subject of the incoming mails.
I think this should work for you without any code change.
Give it a try.
Uhm, I don’t mean the emails, which are sent to the customer and which are customizable by triggers. I rather mean the system notification, which are sent to the agent. Here an example for a system notification, for an updated ticket:
Zammad Helpdesk Benachrichtigung
Hi Matthias,
Ticket (This is a test question) has been updated by “Matthias Wiesner-Kunde”.
Information:
This is the customers answer to “agent’s answer 1”