feat: add proration invoice and reminder email templates (#27246)

* feat: add proration invoice and reminder email templates

Add email templates for monthly proration billing notifications:

- ProrationInvoiceEmail: Sent when invoice is created for additional seats
- ProrationReminderEmail: Sent 7 days later if invoice remains unpaid

Includes:
- React email templates using V2BaseEmailHtml
- BaseEmail classes for rendering
- Billing email service functions
- Translation keys for email content

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* fix: use allSettled

---------

Co-authored-by: Claude Opus 4.5 <[email protected]>
This commit is contained in:
sean-brydonandClaude Opus 4.5 authored and GitHub committed 2026-01-27 09:28:27 +00:00
1 parent bf39489899
commit cb76e8bde0
7 files changed
+522 -38

No files matched your search

@@ -3791,6 +3791,18 @@
"cal_ai_credit_limit_reached_message": "Your Cal.com team {{teamName}} has run out of credits. As a result, Cal.ai phone calls are now disabled. To resume using Cal.ai phone calls, please purchase additional credits.",
"cal_ai_credit_limit_reached_message_user": "Your Cal.com account has run out of credits. As a result, Cal.ai phone calls are now disabled. To resume using Cal.ai phone calls, please purchase additional credits.",
"current_credit_balance": "Current balance: {{balance}} credits",
"proration_invoice_subject": "Invoice for additional seats - {{teamName}} (${{amount}})",
"proration_invoice_auto_charge_message": "An invoice for ${{amount}} has been created for {{seats}} additional seat(s) added to your team {{teamName}} during {{month}}. This amount will be automatically charged to your default payment method.",
"proration_invoice_manual_payment_message": "An invoice for ${{amount}} has been created for {{seats}} additional seat(s) added to your team {{teamName}} during {{month}}. Please pay this invoice to complete the billing for your additional seats.",
"proration_description": "Description",
"proration_line_item": "{{seats}} additional seat(s) - {{month}}",
"amount": "Amount",
"pay_invoice": "Pay Invoice",
"pay_invoice_now": "Pay Invoice Now",
"view_billing_settings": "View Billing Settings",
"proration_reminder_subject": "Payment Reminder - {{teamName}}",
"proration_reminder_message": "This is a reminder that your invoice of ${{amount}} for team {{teamName}} is still unpaid.",
"proration_reminder_warning": "If this invoice remains unpaid, you will not be able to add new users to your team until payment is received.",
"current_balance": "Current balance:",
"notification_about_your_booking": "Notification about your booking",
"monthly_credits": "Monthly credits",