How Many Folders Do You Really Need?: Classifying Email into a Handful of Categories

Email classification is still a mostly manual task. Consequently, most Web mail users never define a single folder. Recently however, automatic classification offering the same categories to all users has started to appear in some Web mail clients, such as AOL or Gmail. We adopt this approach, rather than previous (unsuccessful) personalized approaches because of the change in the nature of consumer email traffic, which is now dominated by (non-spam) machine-generated email. We propose here a novel approach for (1) automatically distinguishing between personal and machine-generated email and (2) classifying messages into latent categories, without requiring users to have defined any folder. We report how we have discovered that a set of 6 "latent" categories (one for human- and the others for machine-generated messages) can explain a significant portion of email traffic. We describe in details the steps involved in building a Web-scale email categorization system, from the collection of ground-truth labels, the selection of features to the training of models. Experimental evaluation was performed on more than 500 billion messages received during a period of six months by users of Yahoo mail service, who elected to be part of such research studies. Our system achieved precision and recall rates close to 90% and the latent categories we discovered were shown to cover 70% of both email traffic and email search queries. We believe that these results pave the way for a change of approach in the Web mail industry, and could support the invention of new large-scale email discovery paradigms that had not been possible before.

[1]  Jon Postel,et al.  Simple Mail Transfer Protocol , 1981, RFC.

[2]  Avrim Blum,et al.  The Bottleneck , 2021, Monopsony Capitalism.

[3]  B DanzigPeter,et al.  Scalable Internet resource discovery , 1994 .

[4]  Nir Ailon,et al.  Threading machine generated email , 2013, WSDM '13.

[5]  Edo Liberty,et al.  Automatically tagging email by leveraging other users' folders , 2011, KDD.

[6]  Stan Matwin,et al.  Email classification with co-training , 2011, CASCON.

[7]  Olle Bälter,et al.  Keystroke level analysis of email message organization , 2000, CHI.

[8]  Fabrizio Sebastiani,et al.  Machine learning in automated text categorization , 2001, CSUR.

[9]  Michael I. Jordan,et al.  Latent Dirichlet Allocation , 2001, J. Mach. Learn. Res..

[10]  Peter B. Danzig,et al.  Scalable Internet resource discovery: research problems and approaches , 1994, CACM.

[11]  John Langford,et al.  Sparse Online Learning via Truncated Gradient , 2008, NIPS.

[12]  Sanjay Ghemawat,et al.  MapReduce: Simplified Data Processing on Large Clusters , 2004, OSDI.

[13]  John C. Klensin,et al.  Simple Mail Transfer Protocol , 2001, RFC.

[14]  Christopher Meek,et al.  Challenges of the Email Domain for Text Classification , 2000, ICML.

[15]  Francis R. Bach,et al.  Online Learning for Latent Dirichlet Allocation , 2010, NIPS.

[16]  Dominic Forest,et al.  Email pragmatics and automatic classification: A study in the organizational context , 2012, J. Assoc. Inf. Sci. Technol..

[17]  Yiming Yang,et al.  The Enron Corpus: A New Dataset for Email Classi(cid:12)cation Research , 2004 .