MuseMVP

MuseMVP Base: Next.js for Node and Cloudflare. MuseMVP Flare: an AI SaaS template that runs entirely on Cloudflare. Authentication, billing and administration included.

Product
  • Home
  • Pricing
  • Templates
Resources
  • Docs
  • Blog
  • Changelog
Legal
  • Privacy
  • Terms
  • Community
Open-Launch Top 1 Daily WinnerOpen-Launch Top 1 Daily WinnerVerified DR - Verified Domain Rating for musemvp.comVerified DR - Verified Domain Rating for musemvp.comMuseMVP - Featured on Startup FameMuseMVP - Featured on Startup FameFazier badgeFazier badgeLiftOff award badgeLiftOff award badge

© 2026 MuseMVP. All rights reserved.

MuseMVP
  • Pricing
  • Docs
  • Blog
  • Changelog
Buy MuseMVP Flare
MuseMVP Docs
MuseMVP Docs
OverviewTech StackGet SourceQuick StartProject Structure
DatabaseAPIAuthenticationBillingObject StorageEmail
Deployment

Email

Configure Cloudflare Email Sending and verify registration, recovery, and production delivery.

Local capture and production delivery

packages/mail/src/index.ts owns the mail interface, HTML escaping, and environment checks. Authentication uses it for verification, codes, and password recovery.

Development captures messages for the /dev/mail inbox instead of sending to real recipients. Production requires an EMAIL binding and a verified sender domain for Cloudflare Email Sending. Settings copied from a Next.js starter's other mail provider are not automatically recognized.

Verify local mail

  1. Run pnpm muse:init and pnpm dev.
  2. Trigger registration or password recovery.
  3. Open /dev/mail in the same development instance and find the recipient and subject.
  4. Follow the captured link and complete verification or recovery, then sign in.

Seed users are useful for a quick preview. Use a separate development account to exercise actual registration. Keep codes and reset links out of public issue screenshots.

Configure production sending

Enable Email Sending in your own Cloudflare account and verify the sender domain and DNS as required by the dashboard. Check the current Cloudflare Email Service documentation for eligibility and setup requirements.

Set root .env or encrypted CI variables:

MAIL_FROM=Your Product <[email protected]>
APP_URL=https://app.your-domain.com

The deployment must include an EMAIL binding. MAIL_FROM alone does not create sending capability. Production checks reject a missing binding or an @example.com placeholder. Domain verification also does not prove inbox delivery; perform a real delivery check.

Customize messages

Trace the authentication trigger into the mail package before editing subjects, HTML, and action links. Escape user-controlled text before inserting it into HTML. Preserve code, expiry, and action semantics. When rebranding, review the sender name, subject, support address, and APP_URL together.

Do not cache authentication links in public pages. Logs should contain actionable event/result information without complete tokens, message bodies, or credentials.

Production acceptance

  • Register and verify an account on your own production origin; check the link's domain.
  • Complete password recovery and verify expired links fail.
  • Inspect spam folders, sender DNS, and sending-service errors.
  • Production /dev/mail and its API must not expose captured authentication mail.
  • Failed requests need visible retryable errors, not a success state based only on submission.

The public demo at https://flare.musemvp.com is useful for UI inspection. HTTP smoke results are not evidence of real mail delivery.

Troubleshoot

For missing local messages, check development mode, whether the operation generated mail, and the instance/port. For production rejection, inspect EMAIL, MAIL_FROM, domain verification, and account capability. For links pointing to the wrong site, inspect APP_URL and process-variable precedence. Never expose the development inbox to solve delivery problems.

Continue with authentication and deployment.

Object Storage

Configure R2 and understand upload limits, ownership, download responses, and file API keys.

AI Overview

The four AI studios, where each runs, mock and live modes, configuration, and the code map.

On this page

Local capture and production deliveryVerify local mailConfigure production sendingCustomize messagesProduction acceptanceTroubleshoot

One payment. Tax included.

MuseMVP Flare

TanStack Start on Cloudflare, with four AI studios built in.

$69

Buy MuseMVP Flare