v1.0.0Version 1.0: 122 business website templates in Tailwind HTML, Tailwind + Vite, Next.js, React, Astro, Vue, Nuxt, SvelteKit and Laravel.

Docs/04 Features

Email

Send emails from a Briks feature template with SMTP or Resend, set MAIL_FROM and test with the console provider before you go live.

Updated 23 November 2026

You can send emails from a feature template through your own email provider by setting four values in .env.

Settings

  • MAIL_PROVIDER is resend, smtp or console.
  • MAIL_FROM is the address the emails come from.
  • RESEND_API_KEY is your Resend key. Use it with resend.
  • SMTP_URL is the address of your mail server. Use it with smtp.

Test with the console

  1. Set MAIL_PROVIDER=console in .env.
  2. Run npm run dev.
  3. Trigger an email, for example a sign-up.
  4. Read the email in the terminal. The console provider prints emails there. Nothing is sent.

Use SMTP

  1. Get the SMTP details from your email provider.
  2. Set MAIL_PROVIDER=smtp.
  3. Set SMTP_URL, for example smtp://user:pass@mail.example.com:587.
  4. Set MAIL_FROM to an address your provider allows you to send from.
  5. Restart the site and trigger an email.

Use Resend

  1. Create a Resend account and an API key.
  2. Set MAIL_PROVIDER=resend.
  3. Set RESEND_API_KEY to your key.
  4. Set MAIL_FROM to an address on a domain you have set up in Resend.
  5. Restart the site and trigger an email.

Links inside emails use SITE_URL, so set it to your public address. See Accounts and database. If an email does not arrive, see Troubleshooting.

Next · 05 ShipDeploy a static siteBuild your Briks template to the out folder and deploy the static site to Cloudflare Workers, Netlify, Vercel, GitHub Pages or any shared host.

Your next client site is mostly built.

122 websites, $79 once, for every site you build. New templates and updates are free for life.

Works with any AI agent

  • Claude
  • Claude Code
  • OpenAI
  • Codex
  • Grok
  • Grok Bot
  • OpenClaw
  • Hermes Agent
  • Gemini
  • Antigravity
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Cline
  • Kiro
  • Junie
  • Replit
  • v0
  • Ollama

+ any agent that reads AGENTS.md