I have configured the email handler in such a way that creates a new ticket whenever we receive a block credentials email on a specific email address. However, It always adds a comment to a closed ticket rather than creating a new ticket in that project. The sender is sending the email with a different Subject but still, it adds a new comment in the closed ticket.
This setting always worked fine for me but it started happening a few months although I did not make any changes to JIRA Version.
Mail Handler Setting:
Handler: Create a new issue or add a comment to an existing Issue.