# Mail intake bot Every 10 minutes (Task Scheduler): reads unseen mail in the referrals mailbox, saves attachments, checks they are PDFs under 20 MB, copies them to the shared intake folder and records each one in the queue (`data/queue.db`, table `queue`: New, Processing, Done, Failed, Quarantined). Ops view the queue with `queue_viewer.xlsx` (Data > Refresh), which shows id, sender, subject, status and note.