Tag
#webhooks
19 posts tagged “webhooks”.
- 7 min read
Integrate Postal with MailKite: Four Practical Setups
For developers running Postal: integrate MailKite by moving inbound, splitting domains, adapting Postal routes, or receiving with MailKite and sending through Postal.
- 5 min read
Receive email in real time with Elixir
A Plug endpoint can receive signed JSON whenever a new email arrives. This Elixir walkthrough reads the raw body before any parser, verifies it with the MailKite SDK and shows how to separate HTTP acknowledgement from durable worker processing. MailKite is the platform we build.
- 5 min read
Receive email in real time with Rust
An Axum endpoint can receive each new email as a signed JSON request. This Rust walkthrough retains the original Bytes body, verifies it with the MailKite SDK and then parses the event, with a clear path from a logging demonstration to a durable inbox. MailKite is the platform we build.
- 5 min read
Receive email in real time with C# and ASP.NET Core
An ASP.NET Core minimal API can receive new email as signed JSON instead of polling a mailbox. This C# example verifies the original request body with the MailKite SDK before decoding it, and identifies the durable-storage boundary you need before production. MailKite is the platform we build.
- 15 min read
Email to Slack: threading, Block Kit limits, and the duplicate-post trap
Slack's own email-to-channel needs a paid plan, pins every message to one fixed channel, and can't thread. Wiring inbound email to Slack yourself is about 50 lines — but three things bite once real mail arrives: Slack rejects any header block over 150 characters, webhook retries post the same email twice, and Incoming Webhooks never return a message ts, so an email thread can never become a Slack thread. Here's the handler that survives all three, and the return path that lets your team reply to the customer from inside the Slack thread.
- 6 min read
Receive email in real time with Node.js
Receive each new email as signed JSON in an Express endpoint, then store it before returning 200. This Node.js example uses the MailKite SDK and built-in SQLite to preserve the raw-body verification boundary and deduplicate deliveries. MailKite is the platform we build.
- 3 min read
Build email automation in n8n that actually works
n8n's built-in email nodes use basic SMTP or IMAP polling — slow, unreliable, and no structured data. This tutorial shows how to connect n8n to MailKite for both sending (SMTP node with DKIM signing) and receiving (webhook trigger with clean JSON payload), so your email automation workflows fire in seconds, not minutes.
- 3 min read
Turn inbound email into Zapier workflows — no code, no polling
Zapier's email triggers poll an inbox over IMAP — slow, flaky, and broken for high-volume. MailKite pushes inbound email to a Zapier webhook as clean JSON the moment it arrives. This tutorial shows how to set up the webhook trigger, connect it to 5,000+ apps, and build email automation that actually works in real time.
- 7 min read
Receive iCloud Mail (Apple Mail) emails live with a webhook
iCloud Mail can forward new email while your Mac is asleep. Point that server-side forwarding at a MailKite receiving address and your application gets signed JSON events. This walkthrough shows the forwarding settings, a durable Python receiver, selective rules and what Apple Mail itself does not control. MailKite is the platform we build.
- 18 min read
You can't ship an API key in a one-click deploy template
A one-click deploy template that shows account data has a problem no tutorial mentions: it lives on a public URL, so it can't hold a shared API key without handing every visitor the whole account. Here's how we shipped an inbound-email inbox to the Railway marketplace as one deploy: the OAuth self-registration that replaces the key, one core that runs on six hosts, and a Connect button that wires the webhook for you.
- 10 min read
Email as an agent tool: MCP, the SDK, or your own webhook
There are three ways to give an agent email, and they answer different questions. Install the MCP server and the model sends and reads mail as tool calls it decides to make. Hand it the SDK and email is deterministic code your agent runs. Point a signed webhook at it and the agent receives mail the moment it arrives. This is when to use each — with runnable code for all three, and how to mix them. For developers wiring an agent to email with MailKite.
- 7 min read
Email to webhook: the complete guide to receiving email as JSON
Point your domain's MX at MailKite and every message becomes a signed JSON POST to your endpoint — no mail server, no IMAP polling, no MIME parsing. The full payload shape, signature verification, working receivers in Node, Python, Go, and PHP, and how it compares to SendGrid Inbound Parse, Mailgun Routes, and Postmark.
- 11 min read
Email you set up once and reuse for every project
If you ship a lot of small things, email shouldn't be a from-scratch chore each time: new account, verify domain, request production access, wire a parser. This is the setup you do once — one account, one API key — and what each new project costs after that: point a domain, reuse the key, drop in one webhook. With a reusable Node module and a single inbound handler that fans out to every project you run. For developers who launch many apps a year.
- 7 min read
Receive Gmail emails live with forwarding and a webhook
Keep Gmail as your mailbox and forward new messages to a separate MailKite receiving address. Your application gets signed JSON webhooks instead of polling Gmail. This walkthrough covers the confirmation message, a Python receiver, selective forwarding and the limits of the approach. MailKite is the platform we build.
- 7 min read
Receive email in real time with Python
A Flask receiver can turn each new email into a stored JSON event without polling an inbox. This Python walkthrough verifies MailKite's signed webhook, commits the message to SQLite before acknowledging it, and handles retries with a unique message id. MailKite is the platform we build.
- 12 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 App Router Route Handler. Verify the signature against the raw body, create a ticket, and auto-reply. The whole loop, in working code.
- 14 min read
How to verify inbound email webhooks (HMAC signatures)
An unverified webhook endpoint is an open door: anyone can POST a fake email.received event. How to verify the HMAC signature with one SDK call in Node, Python, and Go, why the raw body bytes matter, and the hand-rolled check if you can't take a dependency.
- 15 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 with threadId, and respond: either an inline ack or a real outbound message. Working Node code, honest DIY path.
- 14 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. Why inbound is the hard direction, how each option punts, and what one clean webhook looks like instead.