List of files(divided based on the roles we chose):
- main.cpp Handles user interface, login/signup, and the main menu to navigate between Inbox, Send Mail, Spam, Priority Mail, Search, and Logout.
- InboxOutbox.h Manages the Inbox (using a stack) and Outbox (using a queue). Contains: receiveEmail() (Push to inbox) displayInbox() (Pop and display inbox emails) sendMail() (Enqueue to outbox) displayOutbox() (Dequeue and display outbox emails)
- SpamPriority.h Manages Spam (using a queue) and Priority Emails (using a priority queue). Contains: markAsSpam() (Enqueue to spam) displaySpam() (Dequeue and display spam emails) prioritizeEmail() (Insert email in priority queue) displayPriorityMails() (Display and remove priority emails)
- SearchRetrieval.h Handles search and retrieval of emails from Inbox, Outbox, and Spam. Contains: searchEmails() (Search emails in inbox, outbox, and spam)
- Email.h Defines the Email structure with fields like sender, subject, content, and priority.