Smart Mail Shield: A Spam Detection System Using Python

Authors

  • J Stella Mary Associate Professor; Department of Electronics and Communication Engineering Bhoj Reddy Engineering College for Women Hyderabad India Author
  • Kyama Prasuna Sai, Rayabandi Sirisha, Kaminelligaru Swathi 4B.Tech Students; Department of Electronics and Communication Engineering Bhoj Reddy Engineering College for Women Hyderabad India Author

Keywords:

Spam Detection, Phishing Detection, Email Security, Python, Optical Character Recognition (OCR), Flask Web Application, Heuristic Analysis, Cybersecurity

Abstract

The widespread use of digital communication platforms has significantly increased the volume of unsolicited and malicious emails. Spam and phishing emails pose serious cybersecurity threats, including identity theft, financial fraud, and unauthorized access to sensitive information. Conventional email filtering techniques often depend on simple keyword-based rules, which are insufficient for identifying sophisticated and constantly evolving phishing strategies.This study presents Smart Mail Shield, an intelligent spam and phishing detection system developed using Python. The proposed solution combines multiple analytical approaches, including heuristic text evaluation, malicious URL identification, domain authenticity verification, and Optical Character Recognition (OCR)-based image analysis. Unlike traditional filtering systems that focus mainly on textual content, the proposed system can also process image-based inputs to detect phishing attempts hidden within embedded images.The system extracts relevant indicators such as suspicious keywords, harmful links, and irregular domain structures to compute a risk score for the analyzed content. A user-friendly web interface built using the Flask framework enables users to submit email text or upload images for automated security assessment. Based on the computed risk score, the system categorizes the input into three levels: Safe, Suspicious, or Phishing.

DOI: https://doi-ds.org/doilink/04.2026-41883239

Downloads

Published

2026-03-31

How to Cite

Smart Mail Shield: A Spam Detection System Using Python. (2026). International Journal of Engineering and Science Research, 16(1), 619-626. https://r48.c30.mytemp.website/index.php/ijesr/article/view/1583

Similar Articles

1-10 of 1105

You may also start an advanced similarity search for this article.