This research proposes an integrated machine learning pipeline for fraudulent email detection using natural language processing and ensemble learning techniques. To test the efficacy of the proposed framework, the publicly available email data set with 11,929 samples was used. The methodology involves three-step approach: feature extraction using Term Frequency-Inverse Document Frequency (TF-IDF), feature selection using chi-square approach to reduce the dimensionality and address the class imbalance problem by using Synthetic Minority Over-sampling Technique (SMOTE). A total of eight machine learning classifiers namely Logistic Regression, Decision Tree, Random Forest, Support Vector Machine (SVM), Naïve Bayes, Gradient Boosting, XGBoost and LightGBM were evaluated. The model performance was evaluated by cross validation, hyperparameter tuning, accuracy, F1 score and ROC AUC. Then, SMOTE was applied to the training set only, after splitting into the training set and the testing set, to avoid the problem of data leakage. The best results were obtained for LightGBM and Random Forest with F1 scores of 98.78% and 98.74%, respectively of the models evaluated. The results indicate that the ensemble learning techniques along with optimized preprocessing techniques can greatly enhance detection performance of fraudulent emails in real world applications like Phishing detection, Spam filtering, and Enterprise email security systems. The proposed framework is efficient in computation and has the modular pipeline design, which makes it applicable to integrate into automated email security systems. The study acknowledges that there are limitations with the dataset, fraud tactics over time and challenges in going to production in the real world, despite the strong performance. Going forward, the development of more adaptive and interpretable deep learning models that can tackle dynamic fraud trends and real-time detection needs is an area that needs more research.
Hover or tap a name to highlight its co-authors. Double-click to open the author's page.
Affiliation unknown
Different organisations
Same organisation
Affiliation unknown
Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-author
Organisation
Joint articles
Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.