There are 3 files
- connect_extract.py
- summary.py
- wa.py
connect_extract.py - This is used to connect to user's gmail and extract all the mails into csv file 'Mails.csv'.
summary.py - Filter all the mails from a specific person, recieved during a specified time period.
wa.py - summarizer is presented as a web app.
- python
- Streamlit
imaplib, email, csv, tabulate, pandas, datetime, re, streamlit.
Prerequisites: User must enable imap/pop settings and two step verification in their gmail account. Once this is done, user must generate app password and save it.
Running the following command in terminal deploys the web app in local host:
streamlit run wa.py
User logs in using gmail id and app password. Once logged in, all emails in the inbox are fetched. Now we can filter the mails based on a particular sender and timespan. The table shows the subjects and frequency of mails based on that particular subject if it is repeated.
Constraint:
- We consider the subject to be ideal which includes the keywords for our summarization module.
- Deployment cannot be done right now due to encryption issues.