I have two emails registered as channels.
When I hit send, this one mail will create two tickets, with the same subject and body for group1 and group2. So if the sender spams my groups I wanted to create only 1 ticket for 1 group, to avoid multiple groups working in the same issue, in this case the group1 is the first in the “To:” field, so what I wanted was to create only a ticket for group1.
Checking the headers from the raw message, I can confirm that
it’s actually one mail delivered to multiple addresses, both messages have the same Message-ID header. So, could be an option to when an email has multiple addresses, flag it somehow (Message-ID header) and only create one ticket.
Create only one ticket per mail (Message-ID) to prevent customers flooding agent’s groups.