// agents · lovable

Real email for vibe-coded apps.

Lovable builds the app; Drin sends the mail. Add transactional email, form-to-email and inbound replies to a generated project over one clean REST API — one key, one endpoint, no backend to babysit.

curl · send from your app
# Drop this into your generated backend / edge function
curl https://api.drin.run/v1/emails \
  -H "Authorization: Bearer $DRIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "hello@yourapp.com",
    "to": "user@acme.com",
    "subject": "Welcome to the app",
    "html": "<p>Thanks for signing up.</p>"
  }'

# → 202 Accepted
{ "id": "msg_8fK2q1", "status": "queued" }
// add email to your app[01/02]

Three steps from generated to sending.

  1. 1

    Grab a key & verify a domain

    Sign up free, add three DNS records, and your domain authenticates itself — so mail from your app lands in the inbox, not spam.

  2. 2

    Store the key as a secret

    Add DRIN_API_KEY to your project's secrets. Tell Lovable to read it from there — never hard-code a key in generated code.

  3. 3

    Prompt it to send

    "On signup, POST to the Drin emails endpoint with the user's address." Paste the cURL as a reference and you're sending.

Full REST reference in the docs →

at a glance
EndpointPOST /v1/emails
Base URLhttps://api.drin.run/v1
AuthBearer API key
Sandbox100 test emails / mo · verified recipients
// what you can add[02/02]

The email features a real app needs.

01

Transactional sends

Welcome emails, receipts, password resets and notifications over one REST call — paste it into the backend your prompt generated.

02

Form-to-email

Point a contact or waitlist form at one endpoint and the submission arrives in your inbox — no server code to write.

03

Inbound replies

Receive and parse replies back into your app, routed by address, so your generated product can act on what users send.

// ship it

Add email to your Lovable app.

Grab a key, paste one REST call, and your generated app sends real mail. Test in the sandbox; production starts at $3 a month.