21 lines
764 B
Markdown
21 lines
764 B
Markdown
# DRE Email Inbox Integration
|
|
|
|
## Mailboxes
|
|
- dre@debtrecoveryexperts.com — Client-facing (status, LPOA, DocuSeal)
|
|
- collections@debtrecoveryexperts.com — Debtor-facing (demand letters, payment links)
|
|
|
|
Server: heracles.mxrouting.net:993 (MXroute)
|
|
Password: M8ke.Money.Honey! (same for both)
|
|
|
|
## Poller
|
|
/root/.hermes/scripts/dre-mail-poller.py — Python stdlib, no deps
|
|
- Polls every 60s via cron
|
|
- Reads UNSEEN messages, leaves as UNSEEN
|
|
- Writes to /var/www/internal/data/dre-mails.json (JSON array, 500 max)
|
|
- Deduplicates by mailbox:UID
|
|
- Logs to /var/log/dre-mail-poller.log
|
|
|
|
## Portal Integration
|
|
- JSON endpoint: internal.debtrecoveryexperts.com/data/dre-mails.json
|
|
- Inbox UI: internal.debtrecoveryexperts.com/inbox.html (dark theme, expandable cards)
|