Custom domains
Receive mail on a domain you own.
Bring your own domain to receive mail at addresses you choose, instead of a random address on a shared domain. Add it in the dashboard (Custom domains) — there's no separate API for this today.
How it activates
| Step | What you do |
|---|---|
| 1. Prove ownership | Add the TXT record we give you at _tm-verify.<your-domain> |
| 2. Point MX to us | Add the MX record we give you, once we've prepared our servers for the domain |
| 3. Receiving | Mail starts arriving the moment both checks pass |
We check automatically every few minutes while a domain is pending, hourly once it's active, or click Check now (at most once every 30 seconds). We only ever accept mail for a domain once its TXT record has proven ownership — removing that record pauses the domain within an hour, so nobody can keep a domain they no longer control.
Creating inboxes on it
Once a custom domain is active, pass its hostname (and optionally the exact local part you want) when creating an inbox:
curl -s https://devapi.temp-mail.lol/v1/inboxes \
-H "Authorization: Bearer tm_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-X POST \
-d '{"domain": "mail.example.com", "local_part": "support"}'It's receive-only for the outside world: there is no API to relay mail from a custom domain to anyone else. You can still send between your own org's inboxes — custom-domain ones included — to test a reply flow.