Skip to content

Latest commit

 

History

History

Email Information

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

IMAP Email Reader

This is a Python script that allows you to read your Gmail emails using IMAP (Internet Message Access Protocol). It provides the following functionalities:

  1. Connect to your Gmail Account
  2. View read Emails
  3. View unread Emails

Installation

  1. Install the imaplib library if not already installed. You can install it using (pip):

                                  -----------------------------
                                  |    pip install imaplib    |
                                  -----------------------------
    
  2. Clone the repository or download the (Email information.py) file.

Usage

  1. Open a terminal or command prompt.

  2. Navigate to the directory where the (Email information.py) file is located.

  3. Run the script using the following command:

                                  --------------------------------
                                  |    python email_reader.py    |
                                  --------------------------------
    
  4. Enter your Gmail email address and password when prompted.

  5. Choose the desired option from the menu:

                                  ---------------------------------------------
                                  | ***   Enter 1 to view read emails.    *** |
                                  | ***   Enter 2 to view unread emails.  *** |
                                  ---------------------------------------------
    
  6. The script will display the selected emails.

  7. When finished, the script will log out and terminate.

References

Note

  • This script is specifically designed to work with Gmail Accounts. If you are using a different Email provider, you may need to modify the server address or settings accordingly.