{"id":16519640,"url":"https://github.com/manasvigoyal/gmail-classification","last_synced_at":"2025-10-28T07:31:25.577Z","repository":{"id":45462740,"uuid":"380991111","full_name":"ManasviGoyal/Gmail-Classification","owner":"ManasviGoyal","description":"Extract Emails from Gmail account, convert to Excel file and classify using various classification algorithms.","archived":false,"fork":false,"pushed_at":"2021-07-30T23:37:50.000Z","size":882,"stargazers_count":17,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T12:45:32.674Z","etag":null,"topics":["beautifulsoup","classification","email-classification","excel","gmail","jupyter-notebooks","machine-learning","matplotlib","numpy","pandas","python","scikit-learn","seaborn"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ManasviGoyal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-28T10:24:35.000Z","updated_at":"2025-01-03T06:44:55.000Z","dependencies_parsed_at":"2022-07-14T11:30:36.331Z","dependency_job_id":null,"html_url":"https://github.com/ManasviGoyal/Gmail-Classification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManasviGoyal%2FGmail-Classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManasviGoyal%2FGmail-Classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManasviGoyal%2FGmail-Classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManasviGoyal%2FGmail-Classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ManasviGoyal","download_url":"https://codeload.github.com/ManasviGoyal/Gmail-Classification/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238614518,"owners_count":19501476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["beautifulsoup","classification","email-classification","excel","gmail","jupyter-notebooks","machine-learning","matplotlib","numpy","pandas","python","scikit-learn","seaborn"],"created_at":"2024-10-11T16:47:36.083Z","updated_at":"2025-10-28T07:31:25.186Z","avatar_url":"https://github.com/ManasviGoyal.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp id=\"top\" align=\"center\"\u003e \u003cimg src=\"https://user-images.githubusercontent.com/55101825/127711468-24083540-85c3-45bb-a817-1c971002ce1a.png\"\u003e \u003c/p\u003e\n\n\u003ch1 id=\"top\" align=\"center\"\u003eGmail Extraction and Classification \u003c/h1\u003e\n\n## :e-mail:\tGmail Extractor\n \nExtracts emails from Gmail from 'Inbox' and 'Spam' folders in .txt format. Then converts each folder to Excel files. Adds 'spam' and 'non-spam' Labels and 1/0 Label_Numbers. Merges both Excel files into one and shuffles them.\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e \u003cb\u003eWorking of Code \u003c/b\u003e \u003c/p\u003e\n\n\u003cp align=\"center\"\u003e \u003cimg src=\"https://user-images.githubusercontent.com/55101825/127711931-d1854c52-d6e3-4802-bc13-10731bbbdad6.png\"\u003e \u003c/p\u003e\n\n\n\u003cbr\u003e **NOTE**: enable 'Less Secure App' access for the code to work\nhttps://myaccount.google.com/lesssecureapps \u003cbr\u003e\u003cbr\u003e\n\n## :mailbox_with_mail:\tGmail Classification \n\n\n### Main steps to build a classifier - \u003cbr\u003e\u003cbr\u003e\n\u003cp align=\"center\"\u003e \u003cimg src=\"https://user-images.githubusercontent.com/55101825/127713129-39ce742d-44c3-4a22-be39-0ab9e4c76fed.png\"\u003e\u003c/p\u003e\n\n\n### 🛠️ Machine Learning Models Used -\n\n- Logistic Regression\n- Support Vector Machine (Linear)\n- Support Vector Machine (RBF)\n- K Nearest Neighbor\n- Decision Tree Classifier\n- Random Forest Classifier\n- Multinomial Naïve Bayes \u003cbr\u003e\n\n### \u003cimg width=\"30px\" src=\"https://user-images.githubusercontent.com/55101825/127714983-bebad7f7-f81c-4072-8033-0c4cf5773de2.png\"\u003e  \u0026nbsp; Python Libraries \u003cbr\u003e\u003cbr\u003e\n\n![NumPy](https://img.shields.io/badge/-NumPy-05122A?style=flat\u0026logo=NumPy)\u0026nbsp;\n![Pandas](https://img.shields.io/badge/-Pandas-05122A?style=flat\u0026logo=Pandas)\u0026nbsp;\n![Matplotlib](https://img.shields.io/badge/-Matplotlib-05122A?style=flat\u0026logo=Matplotlib)\u0026nbsp;\n![Seaborn](https://img.shields.io/badge/-Seaborn-05122A?style=flat\u0026logo=Seaborn)\u0026nbsp;\n![NLTK](https://img.shields.io/badge/-NLTK-05122A?style=flat\u0026logo=NLTK)\u0026nbsp;\n![Scikit-Learn](https://img.shields.io/badge/-ScikitLearn-05122A?style=flat\u0026logo=scikit-learn)\\\n![BeautifulSoup](https://img.shields.io/badge/-BeautifulSoup-05122A?style=flat\u0026logo=BeautifulSoup)\u0026nbsp;\n![imaplib](https://img.shields.io/badge/-Imaplib-05122A?style=flat\u0026logo=imaplib)\u0026nbsp;\n![OS](https://img.shields.io/badge/-OS-05122A?style=flat\u0026logo=os)\u0026nbsp;\n![RE](https://img.shields.io/badge/-RE-05122A?style=flat\u0026logo=re)\u0026nbsp;\n![codecs](https://img.shields.io/badge/-Codecs-05122A?style=flat\u0026logo=codecs)\u0026nbsp;\n![getpass](https://img.shields.io/badge/-GetPass-05122A?style=flat\u0026logo=getpass)\u0026nbsp;\n![email](https://img.shields.io/badge/-Email-05122A?style=flat\u0026logo=email)\u0026nbsp;\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanasvigoyal%2Fgmail-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanasvigoyal%2Fgmail-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanasvigoyal%2Fgmail-classification/lists"}