SpamML: An Efficient Framework for Detecting Spam Emails Using Machine Learning

Spam detection or anti-spam techniques are methods to identify and filter out unwanted, unsolicited, or malicious emails, commonly known as spam. These techniques aim to enhance email security, reduce the risk of phishing attacks, and improve the overall user experience. The prediction of spam emails falls under the broader email filtering or classification category. Specifically, it is a part of the field of machine learning and data mining, where techniques are employed to automatically categorize emails into different classes, such as "spam" or "non-spam" (ham). This process involves using various algorithms and features to analyze emails' content, structure, and metadata to determine whether they will likely be spam or legitimate messages. Our objective is to use Machine Learning to predict and identify simplistically whether the Email is Spam Or Not. It was concluded and considered that the two datasets we can use have many Machine Learning algorithms. The proposed algorithms were tested: k-nearest Neighbor, Gradient Boosting, Random Forest, Naïve Bayes, Decision Tree, and Logistic Regression. After rigorous testing, the only algorithm, Gradiant boosting, stayed dominant in most of the testing, achieving accuracies of 98.5%; also, the other dataset with the best algorithm was Gradiant boosting, which scored the highest accuracy in all the testing, which was 98.6%. As shown in this paper, Machine Learning algorithms, such as supervised or unsupervised models, are trained on datasets containing examples of both spam and legitimate emails. These models then use the learned patterns to classify incoming emails. Can adapt to new spam patterns, effectively handling complex relationships in data.

Authors

Institutions

Publication Details

Journal
Journal of Computing and Communication
Published
2025-02-01
DOI
https://doi.org/10.21608/jocc.2025.411113
Primary Topic
Spam and Phishing Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SpamML: An Efficient Framework for Detecting Spam Emails Using Machine Learning

Diaa Salama AbdElminaam, Maged Farouk, Reda Elazab, Omnia Elrashidy et al.
Journal of Computing and Communication
Spam and Phishing Detection
article

SpamML: An Efficient Framework for Detecting Spam Emails Using Machine Learning

Diaa Salama AbdElminaam, Maged Farouk, Reda Elazab, Omnia Elrashidy, Nashwa Shaker
article en

Abstract

Spam detection or anti-spam techniques are methods to identify and filter out unwanted, unsolicited, or malicious emails, commonly known as spam. These techniques aim to enhance email security, reduce the risk of phishing attacks, and improve the overall user experience. The prediction of spam emails falls under the broader email filtering or classification category. Specifically, it is a part of the field of machine learning and data mining, where techniques are employed to automatically categorize emails into different classes, such as "spam" or "non-spam" (ham). This process involves using various algorithms and features to analyze emails' content, structure, and metadata to determine whether they will likely be spam or legitimate messages. Our objective is to use Machine Learning to predict and identify simplistically whether the Email is Spam Or Not. It was concluded and considered that the two datasets we can use have many Machine Learning algorithms. The proposed algorithms were tested: k-nearest Neighbor, Gradient Boosting, Random Forest, Naïve Bayes, Decision Tree, and Logistic Regression. After rigorous testing, the only algorithm, Gradiant boosting, stayed dominant in most of the testing, achieving accuracies of 98.5%; also, the other dataset with the best algorithm was Gradiant boosting, which scored the highest accuracy in all the testing, which was 98.6%. As shown in this paper, Machine Learning algorithms, such as supervised or unsupervised models, are trained on datasets containing examples of both spam and legitimate emails. These models then use the learned patterns to classify incoming emails. Can adapt to new spam patterns, effectively handling complex relationships in data.

Journal of Computing and CommunicationVol. 4(1)
AlAlamein International University (EG), Misr International University (EG)
Openalex Percentile: Top 97%
Spam and Phishing Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.