{"id":51063386,"url":"https://github.com/niladri-1/Spam-Mail-Classification","last_synced_at":"2026-06-23T04:01:37.071Z","repository":{"id":200464114,"uuid":"705523501","full_name":"niladri-1/Spam-Mail-Classification","owner":"niladri-1","description":"The Spam Mail Classification project is a web-based application that uses machine learning to classify emails as spam or ham. It features a Flask backend, a frontend created with HTML, CSS, and JavaScript, and a MySQL database for storing user data and email classifications.","archived":false,"fork":false,"pushed_at":"2024-05-19T14:32:52.000Z","size":2706,"stargazers_count":10,"open_issues_count":2,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-21T05:44:32.094Z","etag":null,"topics":["spam-classification","spam-detection","spam-filtering","spam-mail","spam-mail-classifier","spam-protection"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/niladri-1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-16T07:21:17.000Z","updated_at":"2026-03-09T04:21:03.000Z","dependencies_parsed_at":"2023-10-20T04:34:47.628Z","dependency_job_id":"34ee1882-4dc2-4ff4-ad66-c7dd1346c1f6","html_url":"https://github.com/niladri-1/Spam-Mail-Classification","commit_stats":null,"previous_names":["niladri-1/spam-email-classification2","niladri-1/spam-email-classification","niladri-1/spam-mail-classification"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/niladri-1/Spam-Mail-Classification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niladri-1%2FSpam-Mail-Classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niladri-1%2FSpam-Mail-Classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niladri-1%2FSpam-Mail-Classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niladri-1%2FSpam-Mail-Classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niladri-1","download_url":"https://codeload.github.com/niladri-1/Spam-Mail-Classification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niladri-1%2FSpam-Mail-Classification/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34674702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["spam-classification","spam-detection","spam-filtering","spam-mail","spam-mail-classifier","spam-protection"],"created_at":"2026-06-23T04:01:35.499Z","updated_at":"2026-06-23T04:01:37.061Z","avatar_url":"https://github.com/niladri-1.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spam Mail Classification\n\n## Description\n\nThe **Spam Mail Classification** project is a web-based application that uses machine learning to classify emails as spam or ham. It features a Flask backend, a frontend created with HTML, CSS, and JavaScript, and a MySQL database for storing user data and email classifications.\n\n### Features\n\n- **Email Classification**: Categorizes incoming emails as spam or ham.\n- **User Registration and Login**: Secure account creation and authentication.\n- **Real-Time Email Classification**: Classifies emails in real time.\n- **User Dashboard**: Users can view their email history and classifications.\n- **Machine Learning Model**: Employs a trained model to classify emails.\n- **Customization**: Users can configure spam filter settings.\n\n## Technologies Used\n\n- **Flask** (Python Web Framework): For the backend server.\n- **HTML, CSS, and JavaScript** (Frontend): For the user interface.\n- **MySQL** (Database): For storing user data and email classifications.\n- **Machine Learning Libraries** (e.g., Scikit-Learn): Used to build and deploy the email classification model.\n\n## Getting Started\n\nTo use the Spam Mail Classification app, follow these steps:\n\n1. **Clone this Repository**: Get the project source code by cloning this repository to your local machine.\n\n2. **Set Up the Flask Backend and MySQL Database**:\n   - Refer to the documentation or instructions provided in the code for setting up the Flask backend and MySQL database.\n\n3. **Install Required Python Packages**:\n   - You'll need to install a few Python packages using pip. Open your terminal and run:\n\n   ```bash\n   pip install Flask\n   pip install nltk\n   pip install mysql-connector-python\n   ```\n\n5. **Create a MySQL Database and Table**:\n   - Set up the MySQL database and table by running the following SQL commands in your MySQL server:\n\n   ```sql\n   CREATE DATABASE smc;\n   ```\n\n    ```sql\n   USE smc;\n   ```\n\n   ```sql\n   CREATE TABLE users (\n       id INT AUTO_INCREMENT PRIMARY KEY,\n       full_name VARCHAR(255) NOT NULL,\n       username VARCHAR(255) UNIQUE NOT NULL,\n       email VARCHAR(255) UNIQUE NOT NULL,\n       phone VARCHAR(15) NOT NULL,\n       password VARCHAR(255) NOT NULL\n   );\n   ```\n\n6. **Run the Flask App**:\n   - Start the Flask app by running the following command in your terminal:\n\n   ```bash\n   python app.py\n   ```\n\n   - Goto browser to open this website in Localhost:\n\n   ```bash\n   http://127.0.0.1:5000/\n   ```\n\n## Author\n\n- **Niladri Chatterjee**\n\n### Contributors\n\n- Niladri Chatterjee - If others have contributed to this project, consider adding their names here.\n\n## License\n\nYou can specify the license under which you want to distribute your project. If it's open source, you can use a popular license like MIT or Apache 2.0.\n\n## Acknowledgments\n\nMention any libraries, tools, or resources that you used or were inspired by in your project here.\n\nFeel free to adapt this template to your project's specific needs.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniladri-1%2FSpam-Mail-Classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniladri-1%2FSpam-Mail-Classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniladri-1%2FSpam-Mail-Classification/lists"}