Inbound mail arrives as clean JSON at your endpoint. This example verifies the x-mailkite-signature HMAC locally and returns the replyOk() acknowledgement body so MailKite counts the delivery as handled.
pip install mailkite-devSet your API key (dashboard → Settings → API key — or mint a domain-scoped key per agent/tenant):
export MAILKITE_API_KEY=mk_live_…The sample lives in app.py. Docs: https://mailkite.dev/docs/webhook-security