The following trigger is not working correctly when a new ticket is created.
Does not work.
But the one that notifies the client when it’s modified works.
I assume the problem is your filter on the group, I would take that out.
Most likely the group the ticket lifes in isn’t allowed to send emails at all (or rather no email address has been configured).
Check your group configuration, see the documentation for more:
https://admin-docs.zammad.org/en/latest/manage/groups/settings.html