Skip to content

feat: email provider abstraction#11

Merged
masonlet merged 9 commits into
mainfrom
feat/provider-abstraction
Apr 9, 2026
Merged

feat: email provider abstraction#11
masonlet merged 9 commits into
mainfrom
feat/provider-abstraction

Conversation

@masonlet

@masonlet masonlet commented Apr 9, 2026

Copy link
Copy Markdown
Owner

Refactor the email module to support multiple providers via a common EmailProvider interface, replacing the direct Resend dependency.

  • Add EmailProvider and EmailPayload interfaces to types.ts
  • Add ResendProvider adapter implementing EmailProvider
  • Replace Resend client in config.ts with a createProvider() factory
  • Refactor email.ts to dispatch through EmailProvider
  • Update tests to mock against the provider interface

@vercel

vercel Bot commented Apr 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
contact-api-nodemailer Ready Ready Preview, Comment Apr 9, 2026 3:01am
contact-api-resend Ready Ready Preview, Comment Apr 9, 2026 3:01am

@masonlet masonlet merged commit 72c4ffa into main Apr 9, 2026
4 checks passed
@masonlet masonlet deleted the feat/provider-abstraction branch April 9, 2026 03:04
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