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 lintingThe email Lambda handles contact form submissions by:
- User submits contact form → Lambda receives request
- Confirmation email sent to user (
[email protected]) - Notification email sent to admin Gmail with
Reply-To: [email protected] - Direct Gmail conversation when you reply to user
- Preview UI: React Email preview server
# AWS Configuration (from existing gotpop infrastructure)
AWS_REGION=your-region
[email protected]
[email protected]
# Optional
[email protected]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