https://github.com/manasvigoyal/gmail-classification
Extract Emails from Gmail account, convert to Excel file and classify using various classification algorithms.
https://github.com/manasvigoyal/gmail-classification
beautifulsoup classification email-classification excel gmail jupyter-notebooks machine-learning matplotlib numpy pandas python scikit-learn seaborn
Last synced: 8 months ago
JSON representation
Extract Emails from Gmail account, convert to Excel file and classify using various classification algorithms.
- Host: GitHub
- URL: https://github.com/manasvigoyal/gmail-classification
- Owner: ManasviGoyal
- License: gpl-3.0
- Created: 2021-06-28T10:24:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-30T23:37:50.000Z (about 4 years ago)
- Last Synced: 2025-02-01T12:45:32.674Z (8 months ago)
- Topics: beautifulsoup, classification, email-classification, excel, gmail, jupyter-notebooks, machine-learning, matplotlib, numpy, pandas, python, scikit-learn, seaborn
- Language: Jupyter Notebook
- Homepage:
- Size: 861 KB
- Stars: 17
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Gmail Extraction and Classification
## :e-mail: Gmail Extractor
Extracts 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.Working of Code
![]()
**NOTE**: enable 'Less Secure App' access for the code to work
https://myaccount.google.com/lesssecureapps## :mailbox_with_mail: Gmail Classification
### Main steps to build a classifier -
### 🛠️ Machine Learning Models Used -
- Logistic Regression
- Support Vector Machine (Linear)
- Support Vector Machine (RBF)
- K Nearest Neighbor
- Decision Tree Classifier
- Random Forest Classifier
- Multinomial Naïve Bayes###
Python Libraries





\






