Machine learning is a branch of artificial intelligence concerned with the creation and study of systems that can learn from data. A machine learning system could be trained to distinguish between spam and non-spam (ham) emails. We aim to study current methods in machine learning to identify the best techniques to use in spam filtering. We found that the One-Nearest Neighbor algorithm achieved the best performance.