This the implementation of naive bayes machine learning technique to correctly Categorize the input email.