Sign up ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

(Not a dup: this very similar question really asks about the DeliveredTo header).

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?

share|improve this question
I'm offering a bounty; I really need this. (Bugzilla is my use case, too.) –  Dan Fabulich Apr 26 '11 at 0:57
I want this for paypal's email-xclick-payment-notification header, delivered in the header X-MaxCode-Template. Sigh. –  Bryce Jul 29 '12 at 14:47
Not being able to filter by a custom header has been pain for me for a long time. That's why I've decided to develop FilterMyGmail, an application that will address this and other related issues. –  jcollado Jan 26 '14 at 0:48
@dnozay appears to have answered this in the following post in a similar topic: I have not verified if it works, and it does involve writing some code. But if it works, it should help this situation. –  Bryce Jul 7 at 14:13

2 Answers 2

I agree with @Andrew - Gmail won't handle this on its own.

However, you could use an intermediary running procmail1, preprocess the mail and add something to the subject, or change its sender, so that it can be filtered secondarily in Gmail.

share|improve this answer

Gmail doesn't do this. But if the emails do have text in the message, it can do it.

share|improve this answer
Bugzilla only adds custom headers; it doesn't modify the body of the message. :-( –  Dan Fabulich May 2 '11 at 4:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.