Implemented email preprocessing for spam classifier