AI Builder Guides

Leap.new

Add email sending with MailBlastr to a Leap.new project using an Infrastructure secret.

Leap is a platform for building full-stack web and mobile apps via chat.

1. Ask Leap to add MailBlastr

Add MailBlastr to a Leap project by asking the chat to add email sending with MailBlastr.

Example prompt

When someone fills out the contact form, send an email using MailBlastr.

2. Add your MailBlastr API key

Create a MailBlastr API key in the dashboard. Leap prompts you to set a secret value on the Infrastructure page — paste your key (e.g. as MAILBLASTR_API_KEY) and click Update secret. In Node.js projects, Leap can use the official mailblastr SDK (npm install mailblastr) and call mb.emails.send(...). In other runtimes, the generated backend calls the MailBlastr Emails API over plain HTTP.

Do not share your API key or expose it in client-side code. Store it as a Leap Infrastructure secret.

3. Add a custom domain

By default you can only send email to your own address. To send to other recipients, add and verify a custom domain, then update the from field in the send code to use an address on that domain (or ask the chat to update it).