AWS Lambda monorepo for gotpop platform email services and serverless functions.
- Runtime: Node.js 22+ with TypeScript
- Email: AWS SES with React Email templates
- Deployment: Serverless Framework
- Development: Turbo monorepo with local email preview
apps/email-lambda- Contact form email service Lambdaapps/email-preview- React Email template developmentsrc/shared- Shared utilities and types
yarn install # Install dependencies yarn dev # Start all development servers yarn build # Build all apps yarn deploy # Deploy to AWS yarn type-check # TypeScript validation yarn lint # Code linting
The email Lambda handles contact form submissions by:
- User submits contact form → Lambda receives request
- Confirmation email sent to user (
noreply@gotpop.io) - Notification email sent to admin Gmail with
Reply-To: user@email.com - Direct Gmail conversation when you reply to user
- Preview UI: React Email preview server
# AWS Configuration (from existing gotpop infrastructure) AWS_REGION=your-region SES_FROM_EMAIL=noreply@gotpop.io ADMIN_EMAIL=your@gmail.com # Optional SES_REPLY_TO_EMAIL=hello@gotpop.io
serverless deploy
cd apps/email-preview yarn dev # Start React Email preview server (http://localhost:3004)
cd apps/email-preview yarn export:templates # Export static HTML emails to /out