Overdue reminders

Late loans surface on the dashboard, and the borrower gets an escalating email ladder — automatically, so nobody has to remember to chase.

What counts as overdue

An open loan whose due-back moment has passed. It appears in the dashboard's overdue table (borrower, items still out, due date, days over) and is flagged in the loans list. Loans due within the next 24 hours get their own dashboard section before they tip over.

The email ladder

Reminders go to the borrower's email from their People entry. No email on file means no reminders — the loan still shows as overdue on the dashboard. Returning everything closes the loan and ends the ladder; a partial return keeps reminders going for what's still out.

What the email says

Each reminder addresses the borrower by name and lists exactly what's still out — each item with its barcode — the original due date, and how many days late it is, with a link back to the app.

Delivery you don't babysit

Outbound mail is queued in the database and delivered by a background sender that retries failures up to 5 times, so a mail-server hiccup delays a reminder rather than losing it. Each loan tracks how many reminders it has received.

Next: QR labels