A simple Java Email Client App using Swing and java.mail classes.
This project is a beginner attempt at creating a Email Client App to read and compose emails from the users email inbox. Includes small but necessary features such as attaching files to composed emails, for better usability. This project is written exclusively in Java in order to grow my Java development skills.
Created and inspired from Robert Johns project found here: project tutorial
- Login and Authentication
- Fetch Emails from Users Inbox
- Navigate/Read Emails from Inbox
- Compose/Send Emails - with the ability to attach files from users computer
- Refresh Inbox for Current Emails
📂 Project Root
├── 📂 .idea/artifacts # Intellij artifacts/jar file
│ ├── JavaEmailClientApp_jar.xml # Main application file jar file
├── 📂 lib # Included dependencies
│ ├── jakarta.activation.jar # jakarta github lib
│ ├── javax.mail.jar # java.mail dependencies
├── 📂 src # Source code
│ ├── AttachmentChooser.java # Attachment Chooser -> file attachment class
│ ├── EmailClientGUI.java # GUI Swing file -> executable file (Main.java)
│ ├── EmailReceiver.java # Email Receiver - inbox fetcher class
│ ├── EmailSender.java # Email Sender - email compose class
│ ├── EmailSessionManager.java # java.mail session & properties classClone the project
git clone https://github.com/CARay1502/JavaEmailClientAppGo to the project directory
cd ../JavaEmailClientAppMake sure dependecies are installed/included
cd ../lib- jakarta.activation.jar
- javax.mail.jar
Run the Project
cd ../.idea/artifacts
java -jar JavaEmailClientApp.jarYou can run either:
- EmailClientApp_jar.xml Compiled application file w/ dependecies
- EmailClientGUI.java Executable file (Main.java)

