Skip to content

praveenkmamani/Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an interview assignmet project which is a standalone python script to fetch mails from gmail using GMAIL API and process rules mentioned in rules.json file.

Please follow the below steps for successful execution of this script.

  1. Run the below command and the install the required modules. pip install -r requirements.txt

  2. Enable the GMAIL API and place the credentials.json file in the project folder

  3. Run the below command which will get the mails from GMAIL, creates a sqlite3 database (emails.db), stores the email in GMAIL table python gmail.py

  4. Run the below commad to process the rules as per the rules mentioned in rules.json python rulesProcessing.py

About

Interview Assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages