Using Naive Bayes on detecting spam and non-spam emails.