// Professional pre-built email template library // Variables: {{first_name}}, {{company_name}}, {{stop_name}}, // {{pickup_date}}, {{order_total}}, {{balance_due}}, {{due_date}}, // {{item_summary}}, {{custom_message}} export type EmailTemplate = { id: string; name: string; description: string; subject: string; body_text: string; body_html: string; }; export const BUILT_IN_TEMPLATES: EmailTemplate[] = [ { id: "order_confirmation", name: "Order Confirmation", description: "Professional order confirmation with item summary and pickup details", subject: "Your Order is Confirmed – {{company_name}}", body_text: `Dear {{first_name}}, Your order has been confirmed and is being prepared for pickup. {{item_summary}} Pickup Date: {{pickup_date}} Location: {{stop_name}} Thank you for choosing {{company_name}}. We'll see you soon! – The {{company_name}} Team`, body_html: `
Thank you for your order with {{company_name}}
Great news — your order is confirmed and we're getting it ready for you!
We'll send you a reminder as your pickup date approaches. See you soon!
— The {{company_name}} Team
Your order is waiting for you!
Just a quick reminder — your order is scheduled for pickup soon!
See you soon!
— {{company_name}} Team
Hi {{first_name}},
{{custom_message}}
{{#if cta_text}} {{/if}}You're receiving this because you're a {{company_name}} customer.
Your pickup from {{stop_name}} is complete
Thank you for picking up your order with us. We hope everything was exactly as you expected!
Questions or feedback? Reply to this email — we read every message.
We appreciate your business and look forward to seeing you again!
Warm regards,
{{company_name}} Team
Confirm your order with {{company_name}}
Your order is in the queue! To confirm and schedule production, we need a deposit to get things started.
To pay your deposit, simply reply to this email or contact us directly. We accept cash, check, and wire transfer.
Thank you,
{{company_name}} Team