Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 645 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 645 Bytes

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 = '[email protected]' # 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