How jeferls/inbox_messages works
Inbox Messages is a local development tool: its main workflow accepts email submissions, stores and lists them for inspection, and rewrites claim links to a local claim page. Its broader product surface provides integration mocks and operational panels for greenn-local, including receivables, payment testing, identity verification, WhatsApp, and webhook forwarding. The graph preserves documented capabilities, but several panel implementations were not sampled; those subsystem nodes use supported directory paths and their internal wiring is omitted where evidence is unavailable.
Main entry points: app.js HTTP application · emails.routes.js Email endpoints · receivables.controller.js Receivables · index.js SQLite data
Components 24
Inbox and claims
- Email endpoints
src/routes/emails.routes.js - Email handlers
src/controllers/emails.controller.js - Claim URL rewrite
src/utils/urlRewrite.js - Claim page
claim-page/src/App.vue - Claim API client
claim-page/src/api.js - Claim endpoints
src/controllers/claims.controller.js
Operational panels
- Receivables
src/controllers/receivables.controller.js - Receivable units
src/services/receivable-units.service.js - Payment tester
src/services/payment-tester.service.js - Product catalog
src/services/product-catalog.service.js - Container controls
src/services/docker.service.js - QR code and offers
src/routes/qrcode.routes.js
Integration mocks
- IdWall mock
src/services/idwall-mock.service.js - IdWall regression
src/services/idwall-regression.service.js - Worldpay mock
src/controllers/worldpay-mock.controller.js - Webhook forwarding
src/services/whs-forward.service.js - WhatsApp mock
src/services/wa-mock.service.js - Konduto integration
src/controllers/konduto.controller.js - Transfeera integration
src/controllers/transfeera.controller.js
Application runtime
- HTTP application
src/app.js - SQLite data
src/db/index.js - Greenn database
src/services/greenn-db.js
Other components
- Local user
- Email sender
Connections 24
- Local user → HTTP application: uses panels
README.md - Email sender → HTTP application: submits email
README.md - HTTP application → Email endpoints: mounts routes
src/app.js - HTTP application → SQLite data: initializes
src/app.js - Email endpoints → Email handlers: routes requests
src/routes/emails.routes.js - Email endpoints → SQLite data: stores and reads
src/routes/emails.routes.js - Email endpoints → Claim URL rewrite: rewrites links
src/routes/emails.routes.js - Local user → Claim page: opens claim link
README.md - Claim page → Claim API client: calls
claim-page/src/App.vue - HTTP application → Receivables: mounts routes
src/app.js - Receivables → SQLite data: reads and writes
src/controllers/receivables.controller.js - Receivables → Receivable units: adjusts units
src/controllers/receivables.controller.js - HTTP application → IdWall mock: mounts mock routes
src/app.js - IdWall regression → IdWall mock: drives scenarios
src/services/idwall-regression.service.js - IdWall regression → Container controls: executes commands
src/services/idwall-regression.service.js - HTTP application → Worldpay mock: mounts mock routes
src/app.js - HTTP application → Webhook forwarding: starts forwarding
src/app.js - HTTP application → Payment tester: mounts tester routes
src/app.js - Payment tester → Product catalog: loads catalog
src/controllers/payment-tester.controller.js - HTTP application → QR code and offers: mounts routes
src/app.js - QR code and offers → Greenn database: queries offers
src/routes/qrcode.routes.js - HTTP application → WhatsApp mock: mounts mock routes
src/app.js - HTTP application → Konduto integration: mounts routes
src/app.js - HTTP application → Transfeera integration: mounts routes
src/app.js