Skip to content

feat: add order confirmation and contact receipt emails via Resend - #54

Merged
nlklfor merged 1 commit into
mainfrom
feat/email-templates
Aug 20, 2026
Merged

feat: add order confirmation and contact receipt emails via Resend#54
nlklfor merged 1 commit into
mainfrom
feat/email-templates

Conversation

@nlklfor

@nlklfor nlklfor commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Sends a React Email template through Resend after a successful checkout (if the customer provided an email, now an optional field) and after a contact-form submission (email now required, to make replying possible). Templates share a logo/branding module and pull product thumbnails from existing Supabase Storage URLs. Resend is only instantiated when RESEND_API_KEY is configured, so both flows degrade gracefully without it.

Adds orders.customer_email (nullable) and threads it through create_order().

Sends a React Email template through Resend after a successful checkout
(if the customer provided an email, now an optional field) and after a
contact-form submission (email now required, to make replying possible).
Templates share a logo/branding module and pull product thumbnails from
existing Supabase Storage URLs. Resend is only instantiated when
RESEND_API_KEY is configured, so both flows degrade gracefully without it.

Adds orders.customer_email (nullable) and threads it through create_order().
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
metallurg Ready Ready Preview Aug 20, 2026 9:17pm

@nlklfor
nlklfor merged commit 03f2913 into main Aug 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant