Local Mail is a Python-based project that allows users to create an account, send, and receive emails using a local MySQL database. This project aims to provide a practical learning experience in MySQL and Python programming.
Please note that this project does not connect to the internet. All email data and account information are stored locally in a project folder on the desktop.
-
Account Creation: Users can create a new account by providing their desired username, password, and other relevant details.
-
Compose: Users can compose and send emails to other users within the system. They can specify the recipient(s), subject, and the content of the email.
-
Inbox: Users can view the emails they have received from other users. The inbox displays the sender's name, subject, and the date of receipt.
-
Sent: Users can check the emails they have sent. The sent folder shows the recipient's name, subject, and the date the email was sent.
-
Drafts: Users can save email drafts to work on later. Drafts can be edited, deleted, or sent at a later time.
-
Trash: Users can move emails to the trash folder to delete them. Emails in the trash folder can be permanently deleted or restored to the inbox.
- Python (version 3.X or later)
- MySQL
- Create a new folder named "project" on your desktop.
- Clone the repository into the "project" folder on your desktop.
https://github.com/VoidVampire/local-mail.git
- Install the required dependencies. You can use pip to install the necessary packages.
pip install mysql-connector-python
- Set up the MySQL database:
- Create a new database named
ymail
.
- Update the MySQL database connection details in python file. Modify the
host
,user
,password
, anddatabase
variables to match your local MySQL configuration. - Run the main script to start the application.
- After running the application, you will be prompted with a menu to sign in or create a new account.
- Follow the instructions on the screen to navigate through the different features of the email management system.
- Use the provided commands or menu options to compose, view, and manage emails.