Menu

#35 can't label spam?

open
nobody
None
5
2006-12-15
2006-12-15
dooglus
No

I find that google's anti-spam filter sometimes catches non-spam email, so I periodically log in, label all the mail in the spam folder with a 'spaaam' label, move it all into the inbox, download it using POP and run it through my own spam filter.

I noticed this libgmail python library and thought maybe I could automate the task, but I don't seem to be able to get past the first step of labelling the spam:

>>> ga.getMessagesByLabel("spam")[0].addLabel("spaaam")
True

It says 'True', but when I check, no label was applied.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB