How luciferasince96/luciferproject works
Yahoo Email Manager is a local web app for reviewing a Yahoo inbox, inspecting related conversation messages, preparing replies, and sending them. The React interface calls FastAPI endpoints; backend mail operations use Yahoo IMAP/SMTP, while draft generation and preview summarisation use OpenAI. The sampled source shows these routes and major mail behaviors, but omitted portions of mail.py limit detail about its internal helpers. The frontend API proxy is configured in vite.config.js.
Main entry points: main.py HTTP API · mail.py Yahoo mail operations · App.jsx Inbox and reply UI · settings.py Credentials and settings
Components 14
Email interface
- Inbox and reply UI
yahoo-email-manager/frontend/src/App.jsx - React entry
yahoo-email-manager/frontend/src/main.jsx
API and mail
- HTTP API
yahoo-email-manager/backend/app/main.py - Inbox dashboard
yahoo-email-manager/backend/app/main.py - Thread retrieval
yahoo-email-manager/backend/app/main.py - AI draft route
yahoo-email-manager/backend/app/main.py - AI summary route
yahoo-email-manager/backend/app/main.py - Reply sending
yahoo-email-manager/backend/app/main.py - Yahoo mail operations
yahoo-email-manager/backend/app/mail.py - Credentials and settings
yahoo-email-manager/backend/app/settings.py
External services
- Yahoo IMAP
- Yahoo SMTP
- OpenAI API
Other components
- Local user
Connections 18
- Local user → Inbox and reply UI: uses
yahoo-email-manager/frontend/src/App.jsx - React entry → Inbox and reply UI: renders
yahoo-email-manager/frontend/src/main.jsx - Inbox and reply UI → HTTP API: requests
yahoo-email-manager/frontend/src/App.jsx - HTTP API → Inbox dashboard: routes
yahoo-email-manager/backend/app/main.py - HTTP API → Thread retrieval: routes
yahoo-email-manager/backend/app/main.py - HTTP API → AI draft route: routes
yahoo-email-manager/backend/app/main.py - HTTP API → AI summary route: routes
yahoo-email-manager/backend/app/main.py - HTTP API → Reply sending: routes
yahoo-email-manager/backend/app/main.py - Inbox dashboard → Yahoo mail operations: loads dashboard
yahoo-email-manager/backend/app/main.py - Thread retrieval → Yahoo mail operations: loads thread
yahoo-email-manager/backend/app/main.py - AI draft route → Yahoo mail operations: loads thread
yahoo-email-manager/backend/app/main.py - AI draft route → OpenAI API: generates draft
yahoo-email-manager/backend/app/main.py - AI summary route → OpenAI API: summarises previews
yahoo-email-manager/backend/app/main.py - Reply sending → Yahoo mail operations: sends reply
yahoo-email-manager/backend/app/main.py - Yahoo mail operations → Credentials and settings: reads credentials
yahoo-email-manager/backend/app/mail.py - HTTP API → Credentials and settings: reads AI settings
yahoo-email-manager/backend/app/main.py - Yahoo mail operations → Yahoo IMAP: reads mail
yahoo-email-manager/backend/app/mail.py - Yahoo mail operations → Yahoo SMTP: sends mail
yahoo-email-manager/backend/app/mail.py