(Not a dup: this very similar question really asks about the
Bugzilla provides a number of headers telling you why you received a mail, such as
X-Bugzilla-Reason. How can I filter on arbitrary tags such as this one in Gmail?
Gmail doesn't do this. But if the emails do have text in the message, it can do it.