The web version of Gmail sometimes tells me a message wasn't sent to spam because of my filter settings:

I later realized I probably don't need this image, but since I xwd'd it, I'm going to use gosh darn it!

However, after I download that message via IMAP and look at the headers, I see no such indication ("show original" also shows no such indication).

Is this information lost if I don't view the message on the web?

Can I make gmail add a "X-GMAIL-FILTERED: Spam to Inbox" or something header?

  • What do you mean the by the downloaded version of Gmail? Do you mean Thunderbird or something? – ComputerLocus Mar 31 '13 at 17:58

This is a GMail web feature and would not be included in the normal HTML of an email. The information is not really lost, but more a less not an included feature of using IMAP or POP access.

  • Thanks, this is what I thought. If I delete the message permanently from the web interface, the information really is lost? Since my only copy (the IMAP copy) won't have it? – user5676 Mar 31 '13 at 21:00
  • If you downloaded the message on a client it will stay there. – ComputerLocus Apr 1 '13 at 1:59
  • Right, but the fact that gmail originally labelled it spam and then moved it to inbox due to a filter is lost forever (unless gmail has filter logs, which I don't think it does) – user5676 Apr 1 '13 at 3:58
  • Well you could choose an option to also apply a label or something to the messages you chose to never send to spam. Then you could identify messages that were suppose to go to spam. But no, if you're using some client, you will never know otherwise. – ComputerLocus Apr 1 '13 at 4:15
  • OK, I tried this. The label shows up in webmail, but not in the IMAP-downloaded version of the email. I was hoping for an "X-Label:" header, but no such luck. – user5676 Apr 1 '13 at 4:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy