Skip to Content
Docs
Guides

Inbound email

Receive mail at your workspace's inbound address, list what arrived, and fetch the raw MIME exactly as it was ingested.

Every workspace has its own inbound address. Mail sent to it is stored for you to read back over the API, and fires the inbound.received webhook. The raw message is kept byte-for-byte and is never rewritten, so what you parse is what the sender sent.

Your inbound address

Find it in the console under Email → Incoming. It looks like this:

a1b2c3d4e5f6@in.emitd.com

Treat it like a password: anyone who has it can write to you. Common uses are a reply-to address for mail you send, or a forwarding rule from a mailbox you already have.

Mail to it counts against your plan's inbound limits, and messages over 25 MB are refused.

Mailboxes on your own domain

To answer customers from an address like support@acme.com, an owner or admin creates a mailbox under Inbox in the console. A workspace can have up to 5.

  1. Pick the address. It goes on one of your verified domains, which needs to be in us-east-1 (the default).

  2. Point the domain's mail at emitd with one DNS record:

    MX   acme.com   10 inbound-smtp.us-east-1.amazonaws.com

    The console checks the record and shows when it's in place. If the domain is on Cloudflare and has no MX yet, Auto configure on its domain page adds it for you.

  3. Send a test. Once the record shows, Send test mails the mailbox from emitd so you can watch it arrive.

  4. Read and reply in the console, or in emitd Mail, a full mail client at mail.emitd.com. Replies go out from the mailbox address, threaded onto the conversation, and count as sends.

Until the record is in place, the mailbox shows Needs MX, the bell says so, and owners and admins get a reminder email a day after creating it and again a week later. Settings → Email notifications → Setup reminders turns these off.

Who sees a mailbox

Owners and admins see every mailbox. Everyone else sees only the mailboxes they've been added to: an owner or admin chooses who under Access on the mailbox. Members can read and reply there; viewers can only read. Under Email → Incoming, mail to a mailbox someone can't open is hidden from them too.

An MX record moves all of a domain's mail

If the domain already receives mail somewhere else, such as Google Workspace or Microsoft 365, changing its MX sends all of that domain's mail to emitd instead. To keep your current mailboxes, add a subdomain such as help.acme.com under Domains and create the mailbox there.

Mail to a mailbox also arrives through the API and the inbound.received webhook like any other inbound message. Messages over 150 KB, attachments included, are refused for now.

List what arrived

curl "https://api.emitd.com/v1/inbound?limit=25" \
  -H "Authorization: Bearer $EMITD_API_KEY"

Newest first. The next_cursor is the bare epoch-millisecond created_at of the last row returned — pass it back as cursor for the next page, and stop when it is null.

curl "https://api.emitd.com/v1/inbound?limit=25&cursor=1759881600000" \
  -H "Authorization: Bearer $EMITD_API_KEY"

The address fields are named differently on each endpoint

The list returns from_addr / to_addr. The single-message GET below returns from / to. This trips people writing one shared parser for both — handle each shape explicitly rather than assuming the detail response is a superset of the summary.

Fetch one message

curl https://api.emitd.com/v1/inbound/$ID \
  -H "Authorization: Bearer $EMITD_API_KEY"

The detail response adds raw: the original MIME, exactly as ingested and never parsed. Parse it with whatever your language already has — email in Python, mail in Ruby, mailparser in Node. Don't write your own MIME parser for this.

raw is null when the R2 object is missing. The endpoint deliberately returns the metadata with a 200 rather than failing the whole request, so check for null before parsing — a missing body is not an error response, and code that assumes raw is a string will throw here rather than at a status check.

An unknown id returns 404.

Delivery events for mail you send are a different surface — see Webhooks and Message activity.

Full schemas: Inbound API.

On this page