List replies
GET /emails/{id}/replies
When recipients reply to one of your sent emails, 3AVA Mail’s inbound matcher threads the reply back to the original send. This endpoint returns all replies for one outbound email — the full conversation thread.
Example
Section titled “Example”curl https://mail.3ava.com/api/emails/a1b2c3d4-.../replies \ -H "Authorization: Bearer am_YOUR_KEY"Response
Section titled “Response”{ "data": [ { "id": "ee11...", "subject": "Re: Your receipt", "body_text": "Thanks! Quick question — ...", "body_html": "<p>Thanks! Quick question — ...</p>", "received_at": "2026-04-22T23:01:00Z", "match_method": "heuristic", "ai_draft": "Hi, happy to help — ..." } ]}match_method is heuristic (matched via In-Reply-To header / VERP address) or ml (matched by subject + sender similarity).
ai_draft is an AI-suggested reply, generated when the inbound is classified as needing a human response. It’s a suggestion only — nothing is sent automatically.
Inbound matching
Section titled “Inbound matching”Inbound emails are matched to their original send using:
- The
In-Reply-ToandReferencesheaders (highest precedence). - The VERP envelope address (
bounce+{email_id}@yourdomain). - Subject + sender heuristics (lowest precedence).
Unmatched inbound mail still lands in /inbound but with original_email_id: null.