IMAP for inbox reading, SMTP for sending. Can use cPanel mailboxes later.
Matrix
Optional self-hosted real-time chat layer on Windows/Linux infrastructure.
Sage
AI learning assistant can summarize a thread and prepare questions for a Rabbi.
Rabbi Desk
Private consultation workflow with context supplied only when the learner agrees.
Website/App → JLS message API → adapters: Email (IMAP/SMTP), Matrix, later WhatsApp/Telegram if permitted. PostgreSQL stores conversation metadata, permissions and learning references.
Home server: Linux is easiest for a permanent Matrix/PostgreSQL stack, but a Windows server can host Docker/WSL-based services for testing.
No passwords should be stored in front-end code. Secrets belong on the server.