Scripts
The @frame/mail package manages delivery and rendering of transactional email using React Email and Nodemailer.
Development Environment (React Email)
Section titled “Development Environment (React Email)”pnpm dev:ui: Starts the React Email development server on port5025. This environment lets you preview, test, and hot-edit the email templates undersrc/templates.
bash pnpm -F @frame/mail dev:ui Build and Export
Section titled “Build and Export”pnpm build:templates: Compiles React Email templates to optimized static code.pnpm export: Exports the current templates to plain HTML for use on external platforms.
Docker
Section titled “Docker”pnpm docker:up: Starts the Docker containers specific to the mail environment (such as the local test SMTP server).pnpm docker:down: Stops and removes the local mail containers.
Testing and Quality
Section titled “Testing and Quality”pnpm test: Runs the unit test suite over pure email-sending functions.pnpm lint: Runsoxlintto check code consistency.