NightmailDocs
Docs
Guide

Send from the built-in domain

What the domain every Hosted workspace starts with can send, to whom, and what it refuses.

What it sends

Every Hosted workspace starts with a domain of its own, such as acme-k7.nightmail.email: Domains lists it as Built-in, and connection.builtinDomain in GET /v1/me and limits in GET /v1/domains/{id} describe it. It needs no DNS and sends at once. For now, built-in domains send only to your workspace members’ own sign-in addresses, up to 10 a day (3 a minute), and only plain transactional mail: no Reply-To elsewhere, custom headers, attachments, stored templates, scheduling, marketing or campaigns. Add your own domain to email anyone and to use them. (limits.scope says who yours sends to.) A send to anyone else is refused with 422 BUILTIN_DOMAIN_RECIPIENT, naming those recipients in error.details[0].notMembers, with sendsTo ("workspaceMembers") and nextStep (createDomain, POST /v1/domains); it is not retryable. A send that uses any of the rest is refused once, with 422 BUILTIN_DOMAIN_UNSUPPORTED naming every field it used in error.details[0].unsupported (for example ["replyTo","headers","attachments"]); past a cap it is 429 BUILTIN_DOMAIN_LIMIT with resetAt. It receives at every address: mail to an address without an inbox or route of its own goes to its default inbox, hello@ the domain, and replies from there (POST /v1/inbound/threads/{threadId}/reply) follow the same rules and caps: while it sends to members only, a reply to anyone outside the workspace gets the same 422 BUILTIN_DOMAIN_RECIPIENT, and answering them needs a domain of your own. Where connection.builtinDomain.repliesToSenders is true, a reply may go once to the sender of the message it answers, alone, when that sender passed authentication and the message isn't automated, within a daily count for the workspace; never to another built-in domain or to one of Nightmail’s own addresses except support, so an agent can answer what Nightmail support sent it; otherwise error.details[0].reply says which condition it didn't meet. Once a domain of the workspace’s own verifies, the built-in domain stops sending and keeps receiving: a send from it then gets 409 OWN_DOMAIN_VERIFIED with the same address at your own domain in error.details[0].suggestedFrom (every verified domain in verifiedDomains), so switch From to your own domain as soon as it verifies. Nightmail may turn one off for abuse.

Find it first in Domains.