Skip to content

feat: replace sendgrid with nodemailer#108

Merged
dslovinsky merged 4 commits intomainfrom
ds/replace-sendgrid
Dec 24, 2025
Merged

feat: replace sendgrid with nodemailer#108
dslovinsky merged 4 commits intomainfrom
ds/replace-sendgrid

Conversation

@dslovinsky
Copy link
Owner

Changes

  • replace sendgrid with nodemailer

Other notes (things to check, explanation of implementation, etc.)

Quick Reference

@dslovinsky dslovinsky self-assigned this Dec 24, 2025
Copilot AI review requested due to automatic review settings December 24, 2025 09:46
@vercel
Copy link

vercel bot commented Dec 24, 2025

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

Project Deployment Review Updated (UTC)
danielslovinsky-com Ready Ready Preview, Comment Dec 24, 2025 9:50am

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR replaces the SendGrid email service with Nodemailer using Gmail SMTP for the contact form functionality. The change simplifies the email implementation by removing the SendGrid dependency and using Gmail's SMTP service instead.

Key Changes:

  • Migrated from SendGrid to Nodemailer with Gmail SMTP configuration
  • Introduced ContactFormStatus enum to replace string literal union types
  • Updated environment variables to use Gmail credentials instead of SendGrid API key

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/app/api/contact/route.ts Replaced SendGrid mail client with Nodemailer transporter using Gmail SMTP
src/components/Contact/ContactForm.tsx Introduced ContactFormStatus enum and added cursor-pointer class to submit button
package.json Removed @sendgrid/mail dependency and added nodemailer with its type definitions
.env.sample Updated environment variable names from SendGrid to Gmail credentials
README.md Added documentation for pulling environment variables via Vercel CLI
.husky/pre-commit Removed husky.sh initialization script
.husky/commit-msg Removed husky.sh initialization script
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dslovinsky dslovinsky merged commit 2a2c470 into main Dec 24, 2025
4 checks passed
@dslovinsky dslovinsky deleted the ds/replace-sendgrid branch December 24, 2025 09:50
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.

2 participants