# CORI Mailbox Intake Foundation

## Purpose
This foundation prepares CORI to receive broker load lists and dispatch documents by email.

## Intended mailbox uses
- daily broker load lists
- rate confirmations
- BOLs
- PODs
- invoices

## Intended supervised flow
1. email arrives in the CORI mailbox
2. CORI classifies the message
3. CORI reads the attachments and extracts useful details
4. CORI suggests the next action
5. dispatcher reviews and approves any create or update step

## Suggested environment variables
- `CORI_MAILBOX_ADDRESS`
- `CORI_MAILBOX_PROVIDER`
- `CORI_MAILBOX_ENABLED`
- `CORI_MAILBOX_INTake_MODE`

## Next implementation goals
- mailbox connection check
- email classification
- attachment extraction review
- supervised conversion into load opportunities or load updates
