Build an email spam detector in Python using popular machine learning algorithms like the train-test split method from Sklearn and the SVM model.