Introduction
Welcome to Mailprex β a simple, secure way to send emails from website contact forms without building a backend.
How it works
Your website form β POST /email/send β Mailprex API β Your inbox
(formToken)- Create a Mailprex account and verify your email.
- Generate a form token in the dashboard (
mk_live_β¦format). - Install the
mailprexnpm package or call the API directly. - Form submissions arrive at the email address on your account.
Documentation sections
- Integration guide β step-by-step setup
- API reference β
POST /email/send - SDK v2 β
sendMailprex()anduseMailprexForm() - useMailprex hook β v1-compatible React hook
- Migration v2 β tokens, auth, and SDK changes
- Deployment modes β public, self-host, internal
- Self-host (Docker)
- Gumroad billing β Pro and Business plans
- Examples
Security notes
- Tokens are hashed in the database; the full secret is shown once when generated.
- Legacy UUID tokens still work β regenerate from the dashboard to migrate.
emailDestinyis the inbox that receives each form notification (any valid email).- Optional Cloudflare Turnstile on register, login, and send.
Support
Questions or bugs: GitHub issuesΒ or contactΒ .
Last updated on