Inbound email lets your app receive replies, support requests and forwarded mail as data. Mailcandor stores each message and tells your app with a webhook.
Step 1: choose the receiving domain
An MX record sends all mail for a name to one place. If your team reads mail at @acme.com in Google Workspace or Microsoft 365, do not change the MX of acme.com. Use a subdomain instead:
replies.acme.comfor replies to emails your app sendsinbound.acme.comorsupport.acme.comfor other inbound mail
Step 2: add the domain to your team
- Open Domains and choose New domain.
- Enter the exact receiving name, for example
replies.acme.com, and save.
Mail is matched to your team by the exact domain after the @, so replies.acme.com must be added itself; adding acme.com does not cover it. Publish its DNS records and verify it, even if you only receive on it: Mailcandor delivers inbound mail only to verified domains. Then add the MX record in the next step.
With the API: POST /v1/domains with {"name": "replies.acme.com"}.
Step 3: point the MX record at Mailcandor
At your DNS provider, add:
| Type | Name | Value | Priority |
|---|---|---|---|
| MX | replies (that is, replies.acme.com) |
inbound-smtp.us-east-1.amazonaws.com |
10 |
Remove any other MX records on that name, or mail may go to them instead. DNS changes can take a while to publish.
Step 4: get told when mail arrives
- Open Webhooks and choose Add webhook.
- Enter your Endpoint URL. It must be public
https. - Under events, tick
email.received(and anything else you want). - Save, then keep the signing secret to verify deliveries.
With the API:
curl https://api.mailcandor.com/v1/webhooks \
-H "Authorization: Bearer $MAILCANDOR_KEY" -H "Content-Type: application/json" \
-d '{ "url": "https://acme.com/hooks/mailcandor", "events": ["email.received"] }'
The webhook carries the metadata only:
{
"type": "email.received",
"created_at": "2026-11-15T10:20:00Z",
"data": {
"email_id": "01a1de9c-6f4c-701d-8a27-0866180b54d2",
"from": "Sam Buyer <sam@example.com>",
"to": ["support@replies.acme.com"],
"subject": "Re: Order 1042",
"message_id": "<abc123@example.com>",
"attachments": [{ "id": "...", "filename": "proof.pdf", "content_type": "application/pdf", "size": 48213 }]
}
}
Fetch the body with GET /v1/emails/receiving/{email_id}. See Read received emails.
Step 5: test it
Send an email from your own mailbox to any address at the domain, such as test@replies.acme.com. Within a moment it shows under Received in the dashboard and your webhook fires.
Tips
- Route replies by address. Put an id in the reply address you send from, such as
reply_to: "order-1042@replies.acme.com", then readtoin the webhook to know which order it belongs to. - Check the verdicts. Each received email in the dashboard shows a Spam check and Virus check result from Amazon SES.
If it does not work
- Nothing arrives: check the MX with
dig +short MX replies.acme.com. It should show10 inbound-smtp.us-east-1.amazonaws.comand nothing else. - The MX is right but nothing shows under Received: the domain is not added to your team, or it was added with a different name. Mail for a domain no team has added is accepted and then dropped, so the sender gets no bounce. Add the exact name.
- Your normal inbox stopped getting mail: you changed the MX of your main domain. Put the old MX records back and use a subdomain.
- Received shows the email but no webhook arrived: check the webhook is on and subscribed to
email.received. Deliveries and their attempts are listed on the webhook’s page.