Skip to content

Scripts to pull mail from users email and do action on them using Flask API

Notifications You must be signed in to change notification settings

titusjoyson/email_ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Ex

Before start executing the project please read the billow

Description

This project contains two scripts fetch_gmail.py and api.py. The fetch_gmail.py allows you to fetch the data from users email account and store them in SqLite database, api.py allows users to do modifications on the fetched email.

Installing and configuring

Creating a virtual env with python 3 is highly recommended

  • Install packages:

     $ pip install -r requirement.txt
  • Enable the Gmail API

    • Navigate to the following link and enable Gmail api and download the credentials.json file and place it inside the project directory. click here

Executing

  • First run the file fetch_gamil.py

     $ python fetch_gmail.py
  • Second run the file api.py

     $ python api.py

Api Details

About

Scripts to pull mail from users email and do action on them using Flask API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages