Notideus
Getting Started

Inbound email

Receive email on your verified domains: add a route, read the team inbox and download the raw message.

Notideus also receives mail. Enable receiving on a verified domain, then add one route per address you want to accept. Inbound mail lands in the team inbox — or pushes straight into your app through a webhook endpoint.

1. Prerequisites and activation

  • A verified sending domain — verify one first; inbound and outbound draw from the same domain pool.
  • A verified account email.
  • An API key with the inbound:read and inbound:write scopes for API management (a session token works too — management is dual-auth).

Receiving is enabled per domain and must be verified before route creation:

  1. In the dashboard, open Domains → your domain → Receiving. The same setup is available under Inbox → Routes & receiving.
  2. Click Enable receiving. Notideus provisions the MX record (10 inbound-smtp.<region>.amazonaws.com, or the operator's custom alias via INBOUND_MX_HOSTNAME) and the SES receipt rule.
  3. Add the displayed MX record at your DNS provider, then click Check DNS. The page also checks automatically while the tab is visible.

If the domain already receives mail through another provider, adding another MX record can change delivery. Use a dedicated receiving subdomain or plan a migration before enabling it.

2. Add an inbound route

  1. After receiving is active, click Create first route (or Add route when routes already exist).
  2. Pick the domain, set the local part (support, hello, … or * for a catch-all) and choose what happens to the mail.

Or with the API — install the official SDK and set the key:

npm install notideus
export NT_KEY="nt_live_…"
import { Notideus } from 'notideus';

const notideus = new Notideus(process.env.NT_KEY);

const route = await notideus.inbound.routes.create({
  domain_id: '01a139b0-4555-7c06-bf40-b380f3a66375',
  recipient: 'support',
  store: true
});

console.log(route.id, route.recipient);

Returns 201 Created with the new route:

{
  "route": {
    "id": "01a139b3-18c4-7f9c-bef5-076c7f55c495",
    "domain_id": "01a139b0-4555-7c06-bf40-b380f3a66375",
    "recipient": "support",
    "name": "",
    "webhook_endpoint_id": null,
    "store": true,
    "status": "active",
    "created_at": "2026-10-14T09:16:41.028905Z",
    "updated_at": "2026-10-14T09:16:41.028905Z"
  }
}

A route needs at least one action, and both can be set:

  • store: true keeps the message in the team inbox — read it in §4.
  • webhook_endpoint_id pushes an inbound.received event to that endpoint. The route itself is the opt-in — no subscription needed. The webhooks tutorial walks through receiving and verifying the push.

Routing rules: one route per (domain, local part) — a second support route fails with 409 conflict, so update the existing route instead. An exact-address route always beats a * catch-all on the same domain.

3. What happens next

Receiving is already active by the time you create a route. Enabling it provisioned the MX record and SES receipt rule; adding more routes changes neither. Deleting a route never deprovisions them. Disabling receiving preserves routes but stops them matching until you enable and verify receiving again.

Mail starts flowing once the MX record propagates and a route matches the recipient; until then, mail to your addresses is not accepted. The domain page's Receiving card shows the MX record and its state.

The production stack receives through SES. On local or self-hosted deployments there is no receipt rule — use the dashboard's Send test message instead, which ingests a message straight into the inbox. The button is config-gated (meta.simulate_enabled).

4. Read the inbox

GET /v1/inbound/messages lists one page of the team mailbox, newest first by default. Filter with q, route_id, folder (inbox, starred, archive, trash, all), folder_id, unread=true, or attachments=true; use sort=oldest to reverse the order and page with cursor/limit:

const page = await notideus.inbound.messages.list({ q: 'Capture' });
// page.data — newest first; page.next_cursor is "" on the final page

Returns 200 OK with the page:

{
  "data": [
    {
      "id": "01a1e8e8-0436-78b6-8c13-3f41508b1529",
      "route_id": "01a1e8e7-bc3b-75bd-8147-2ecc09ebbaa9",
      "from_addr": "ada@example.org",
      "from_name": "Ada Lovelace",
      "to_addr": "support@track.example.com",
      "subject": "Delivery webhook retries",
      "text": "Hi team,\nOur endpoint recovered this morning. Can you confirm whether the delayed events were replayed?\nThanks,\nAda",
      "html": "",
      "headers": {
        "to": "support@track.example.com",
        "from": "Ada Lovelace <ada@example.org>",
        "subject": "Delivery webhook retries",
        "message-id": "<9ec6ac26-f561-46dc-ae5b-cf5a431ef66e@simulate.notideus>"
      },
      "attachments": [],
      "spam_verdict": null,
      "size_kb": 1,
      "status": "processed",
      "error": null,
      "received_at": "2026-11-17T09:48:01.974476Z",
      "read_at": null,
      "starred": false,
      "folder": "inbox",
      "folder_id": null
    }
  ],
  "next_cursor": ""
}

Each entry is one received message. The fields that matter most:

  • text / html — the plain-text and HTML bodies; html is empty when the mail had none.
  • headers — the parsed message headers, including message-id (the threading key).
  • attachments — {name, content_type, size_kb, key} per attachment; download via the attachment endpoint below.
  • spam_verdict — the provider spam verdict when one was returned, else null.
  • status — received, processed or failed; error carries the reason when failed.
  • read_at / starred — durable triage state; folder and folder_id locate built-in or custom folders.

The standalone console Inbox supports account switching, rich compose/reply/forward, custom folders, and Sent mail. For API-driven organization, use PATCH /v1/inbound/messages/:id and the /v1/inbound/folders endpoints described in the reference.

Inbox rows live for meta.retention_days (plan-dependent — 90 days on the capture stack) and are then deleted, raw bytes included. GET /v1/inbound/routes returns the same meta in every response — archive what you need before the window closes.

5. Download the raw email

For forwarding, archiving or forensics, fetch the original MIME message — message/rfc822 bytes, not JSON, so the binary response cannot be shown here:

Example request

const raw = await notideus.inbound.messages.raw('01a139b3-18e4-7cc8-a7e2-4190eca5ec20');
// raw.data — the original message/rfc822 bytes; raw.contentType is set

Attachments download the same way: GET /v1/inbound/messages/:id/attachments/:n, where n is the 0-based index into the message's attachments array (notideus.inbound.messages.attachment(messageId, n)). The response carries the attachment's content type and a Content-Disposition filename. Both endpoints share the inbox retention window — after it, they fail with 404 not_found.

What's next

  • Webhooks — push inbound (and every other event) to your endpoint, with signature verification.
  • API reference: inbound — route CRUD, the inbox, raw and attachment downloads.
Copyright © 2026