Emails
The Emails plugin lets your site send real email: order confirmations, contact-form notifications, welcome messages, password resets. The AI writes each email as a template you can review, and the plugin is deliberately narrow about who can be emailed — so your site can never become a spam machine.
What you can build with it
"Add a contact form that emails me every message."
"Email each customer a confirmation when their order is paid."
"Send new members a welcome email after they verify their address."
Turning it on
On your project's page, open the Emails card and pick a mode:
- Built-in — zero setup. Your site sends through the startupjs.ai email service from
your-site@mail.startupjs.ai, and replies go straight to your account email. Sending is capped per day, and the cap grows with your project's compute units. - Custom — send from your own domain (say,
orders@yourshop.com) with no shared daily cap, using your own free Mailgun account (walkthrough below).
Reviewing what gets sent
Every email your site can send exists as a template — subject plus content with placeholders like {{name}} filled in per recipient. Your admin panel's Emails page lists them all, with a live preview and a send test to myself button. If a wording bothers you, ask the AI to change the template like anything else.
The safety rules
These are built into the plugin itself, not left to the AI's judgment:
- A page can email its signed-in visitor's own verified address, or you (the site owner). Never an arbitrary address a visitor typed in.
- There is no bulk sending — no newsletters, no blasts.
- Anonymous visitors can still trigger a note to you (that's how contact forms work), with tight rate limits.
Sending from your own domain (Custom mode)
The steps below are the same ones shown on the plugin's configuration page in your dashboard — that page is where "the fields here" live.
Send from your own domain (e.g. orders@yourshop.com) with no shared daily cap,
using your own free Mailgun account:
- Sign up at mailgun.com (the free plan is fine to start).
- In the Mailgun dashboard go to Send → Sending → Domains → Add new domain.
Use a subdomain, e.g.
mg.yourdomain.com. - Mailgun shows you a few DNS records (TXT/SPF, DKIM, MX). Add them wherever your domain's DNS is managed (your registrar's DNS page). Wait for Mailgun to show the domain as verified (usually minutes, can take a few hours).
- Go to Settings → API keys and copy your Private API key.
- Enter the API key and your domain (e.g.
mg.yourdomain.com) in the fields here.