Tag
#webhooks
6 posts tagged “webhooks”.
- 3 min read
Receive email in Python (Django & FastAPI)
Install mailkite-dev, point a domain at MailKite, and receive parsed inbound email as JSON in a Django view or a FastAPI handler. The one rule that matters: verify the signature against the raw request body — request.body in Django, await request.body() in FastAPI.
- 4 min read
Build a support inbox in Next.js (email in, tickets out)
Point support@yourdomain at MailKite, parse the inbound email to JSON, and POST it to a Next.js Route Handler. Verify the signature against the raw body, create a ticket, and auto-reply — the whole loop, in real code.
- 5 min read
Verify your inbound email webhooks (HMAC — and why you must)
An unverified webhook endpoint is an open door: anyone can POST a fake email.received event. Here's how to verify the HMAC signature in Node, Python, and Go — and why the raw body matters.
- 4 min read
Reply-by-email: handling inbound replies in your app
When users reply to your notification emails, capture the reply, thread it to the right conversation, and respond — either with an inline ack or a real outbound message.
- 4 min read
Parse inbound email to JSON in Node.js
A hands-on Node.js walkthrough: point a domain at MailKite and receive every inbound email as clean, decoded JSON in one webhook — verify it, then read text, html, and attachments.
- 7 min read
Receiving email is the part nobody warns you about
Sending email is a solved problem. Receiving it — turning real-world MIME into something your app can use — is where everyone quietly loses a week. Here's why inbound is the hard direction, how each option punts, and what one clean webhook looks like instead.