Skip to content

Get email at my domain

Say "give me dana@leaseline.app" and get a Mailbox, SPF, DKIM and DMARC records verified before the first send, and inbound routing.

For developers

A Mailbox sends and receives at your Domain, for a person or an Agent, with mail authenticated before its first send.

For developers

Needs Buy a domain

What you get

  • 1mailbox at the address, for a person or an agentMailbox
  • 3mail records that prove your mail is yours, checked before the first sendDNS Record
  • 1record that routes incoming mail to youDNS Record
  • 1thread per conversation, inbound and outboundThread
  • 1slow start and daily cap for sales mail, so it lands in inboxesMailbox

Your agent does

Domain.authenticate → Mailbox.create
You, to your agent

Give me dana@leaseline.app.

Get email at my domain.

Set up support@leaseline.app email for customers.

# 1. Domain.authenticate
curl -X POST https://api.sb/leaseline.app/domains/domain_leaseline_app/authenticate \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"

# 2. Mailbox.create
curl -X POST https://api.sb/leaseline.app/mailboxes \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"medium":"email","address":"dana@leaseline.app","stream":"transactional"}'
import { $ } from 'startup-builder'

await $.Domain.authenticate({ domain: 'domain_leaseline_app' })
await $.Mailbox.create({ medium: 'email', address: 'dana@leaseline.app', stream: 'transactional' })
npx startup-builder do Domain.authenticate --json '{"domain":"domain_leaseline_app"}'
npx startup-builder do Mailbox.create --json '{"medium":"email","address":"dana@leaseline.app","stream":"transactional"}'
{
  "name": "do",
  "arguments": {
    "code": "await $.Domain.authenticate({ domain: 'domain_leaseline_app' })\nreturn await $.Mailbox.create({ medium: 'email', address: 'dana@leaseline.app', stream: 'transactional' })"
  }
}

Change it

  • Route support@ to the support agent.
  • Forward billing@ to my bookkeeper.
  • Retire the old hello@ address.

Under the hood

Systems
Mailboxes
Nouns
Domain, Mailbox, DNS Record, Thread
Events
Domain.authenticated, Mailbox.created