Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Receive email as a webhook (Flask)

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-dev

Set 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