This is a Python script that allows you to read your Gmail emails using IMAP (Internet Message Access Protocol). It provides the following functionalities:
- Connect to your Gmail Account
- View read Emails
- View unread Emails
-
Install the imaplib library if not already installed. You can install it using (pip):
----------------------------- | pip install imaplib | -----------------------------
-
Clone the repository or download the (Email information.py) file.
-
Open a terminal or command prompt.
-
Navigate to the directory where the (Email information.py) file is located.
-
Run the script using the following command:
-------------------------------- | python email_reader.py | --------------------------------
-
Enter your Gmail email address and password when prompted.
-
Choose the desired option from the menu:
--------------------------------------------- | *** Enter 1 to view read emails. *** | | *** Enter 2 to view unread emails. *** | ---------------------------------------------
-
The script will display the selected emails.
-
When finished, the script will log out and terminate.
- 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.