Popfile is worth looking at if this was interesting to you.<p>It is a general purpose naïve bayesian email classifier that you can integrate with almost any email system.<p>They took some of the concepts in the article mentioned here and expanded on them a bit.<p>For example, they have the idea of &quot;pseudowords&quot;[1] so that you&#x27;re working with more than just the words in the email. Like html:td for example...it expands to the number html table cells in an email, which might help with choosing a bucket.<p>[1]<a href="http:&#x2F;&#x2F;getpopfile.org&#x2F;docs&#x2F;faq:pseudowords" rel="nofollow">http:&#x2F;&#x2F;getpopfile.org&#x2F;docs&#x2F;faq:pseudowords</a>