Once inbound is set up (see Set up inbound), every message to your receiving domains is stored and readable.
To read received email in the dashboard
- Open Received.
- The list shows From, To, Subject, Files (attachment count) and Received time, newest first. Search by sender or subject, or filter by Domain and date.
- Select an email to see its details: Cc, Message-ID, Spam check and Virus check verdicts, Attachments (select a file name to download it), Plain text and Headers.
To list received email with the API
Use a full-access key:
curl "https://api.mailcandor.com/v1/emails/receiving?limit=20" \
-H "Authorization: Bearer $MAILCANDOR_KEY"
{
"object": "list",
"has_more": false,
"data": [
{
"id": "01a1de9c-6f4c-701d-8a27-0866180b54d2",
"created_at": "2026-11-15T10:20:00Z",
"from": "Sam Buyer <sam@example.com>",
"to": ["support@replies.acme.com"],
"cc": [],
"bcc": [],
"subject": "Re: Order 1042",
"message_id": "<abc123@example.com>",
"attachments": []
}
]
}
Lists are newest first. limit is 1 to 100 (default 20). For the next, older page pass the last item’s id as after; for newer items pass the first item’s id as before.
To read one email in full
curl https://api.mailcandor.com/v1/emails/receiving/01a1de9c-6f4c-701d-8a27-0866180b54d2 \
-H "Authorization: Bearer $MAILCANDOR_KEY"
On top of the list fields, you get:
| Field | Contents |
|---|---|
html |
The HTML body, or null |
text |
The plain-text body, or null |
headers |
Each header’s first value, names in lowercase |
reply_to |
Reply-To addresses |
A webhook handler that fetches the body (Node.js)
app.post('/hooks/mailcandor', express.raw({ type: 'application/json' }), async (req, res) => {
// Verify the signature first (Standard Webhooks), then:
const event = JSON.parse(req.body);
res.sendStatus(200); // answer within 10 seconds
if (event.type === 'email.received') {
const r = await fetch(`https://api.mailcandor.com/v1/emails/receiving/${event.data.email_id}`, {
headers: { Authorization: `Bearer ${process.env.MAILCANDOR_KEY}` },
});
const email = await r.json();
await saveReply(email.to, email.from, email.text ?? email.html);
}
});
Answer the webhook with a 2xx quickly, then do the work. Deliveries that fail are retried up to 8 times over about 28 hours.
Working with replies
- Strip the quoted history in your own code if you only want the new text. Mailcandor stores the message as received.
- Thread it:
message_idis the message’s own id; thein-reply-toandreferencesentries inheaderspoint at the email it answers. - Know who it was for: read
to(andcc). Addresses are lowercased.
If it does not work
403 restricted_api_key: use a full-access key.404 not_found: the id is wrong, or the email belongs to another team.htmlandtextare bothnull: the message had no body part, only attachments. Checkattachments.- Nothing in the list: see the troubleshooting in Set up inbound.
Attachments are covered in Inbound attachments. Full reference: docs.mailcandor.com.