#!/usr/bin/php Usage: email_unpaid_invoices_to_customers.php [test|confirm] [delay] Send an email to customers to remind all unpaid customer invoices. If you choose 'test' mode, no emails are sent. If you add a delay (nb of days), only invoice with due date < today + delay are included.