/Gmail_Inbox_Read

Gmail Inbox emails reading using this script. Automate the boring staff and design your own module with the help of this code.

Primary LanguagePython

Read your Gmail inbox using imap.

Features:

* Read any Gmail label. ex: 'Inbox'.
* Read emails for specific duration emails.

How to use script?

  • Clone git repo

     git clone https://github.com/t1819/Gmail_Inbox_Read.git
  • Create a config.py file with below details:

     email = 'example@gmail.com' # your email address.
     password = 'password' # your email password.
     label = 'Inbox' # email label.
     from_date = '27-Apr-2019' # start date.
     to_date = '1-May-2019' # to date.
  • Execute the script and get all the emails subjects from gmail label.

     cd src/
     python Email_Read_IMAP.py