Skip to content

feat: add Nodemailer email provider support#14

Merged
masonlet merged 13 commits into
mainfrom
feat/nodemailer-provider
May 12, 2026
Merged

feat: add Nodemailer email provider support#14
masonlet merged 13 commits into
mainfrom
feat/nodemailer-provider

Conversation

@masonlet

Copy link
Copy Markdown
Owner

Summary

Adds Nodemailer as a supported email provider for the Contact API.

Changes

  • Add NodemailerProvider using SMTP config from SMTP_CONFIG
  • Extend config loading to support EMAIL_PROVIDER=nodemailer
  • Guard provider initialization for both Resend and Nodemailer
  • Add fax_number to request typing/validation and trim honeypot handling in the route
  • Sanitize name in email formatting
  • Update .env.example and README for multi-provider setup and deployment
  • Add Nodemailer provider tests
  • Update existing tests to match current response messages and config shape
  • Include tests/**/*.ts in TypeScript typechecking

@vercel

vercel Bot commented May 12, 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 May 12, 2026 11:33pm
contact-api-resend Ready Ready Preview, Comment May 12, 2026 11:33pm

@masonlet masonlet merged commit d0fbeb6 into main May 12, 2026
4 checks passed
@masonlet masonlet deleted the feat/nodemailer-provider branch May 12, 2026 23:33
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