Repository navigation
Email invoices to clients
- Send on a draft now opens a dialog with the recipient, subject and message prefilled from the invoice's contact. One click numbers the invoice and emails it, with a "View invoice" button to the public link. Untick "Email it to the client" to mark as sent and share the link yourself, same as before.
- Resend and remind. Sent invoices get an Email button, which becomes Remind once overdue with a reminder subject and message. All text is editable before it goes out.
- Reply-To is your business email from Settings → Invoicing, so client replies land with you. Falls back to your account email if that's empty. "Send me a copy" CCs you.
- Tracking. The Payment card shows who the invoice was emailed to, when, and how many times. The contact's and deal's timelines get an entry too.
- Safe failures. If the email bounces at Resend, the invoice still gets its number and status, and the page tells you why so you can retry.
Needs RESEND_API_KEY; without it the email option is disabled with a hint and nothing else changes.
Updating
Button deployments: run Update from upstream in your copy's Actions tab (or the one-time script in the README if you haven't yet). The push runs migration 0013. Hand deployments: git pull && pnpm run deploy.