How does AutoSend’s Inbound Email parsing work, and what DNS MX records are required to forward incoming user replies directly to our API endpoint?
AutoSend Inbound Email Parsing & Webhook Architecture
AutoSend allows receiving and parsing emails sent to your domain, converting raw MIME messages into clean structured JSON payloads delivered to your HTTP endpoint.
Step 1: Configure DNS MX Records
Add an MX record pointing your inbound subdomain (e.g. reply.yourdomain.com) to AutoSend:
Type: MX
Host: reply.yourdomain.com
Priority: 10
Value: inbound.autosend.com
Step 2: Set Inbound Route in Dashboard
In your AutoSend Project Settings, specify your receiving webhook URL (e.g., https://api.yourdomain.com/webhooks/inbound-email).
Step 3: Parse Payload in Endpoint
// Next.js Route Handler / Express
export async function POST(req: Request) {
const payload = await req.json();
const { from, to, subject, text, html, attachments } = payload;
console.log(`Received incoming reply from ${from} to ${to}: ${subject}`);
// Process support ticket or AI agent response
return new Response(JSON.stringify({ status: "received" }), { status: 200 });
}