Mailhooks LogoMailhooks
Use CasesPricingDocsBlog
Use CasesPricingDocsBlog

Documentation

Getting Started

IntroductionQuick StartHow It Works

Guides

IMAP Client SetupBring Your Own StorageReal-time Notificationsn8n IntegrationDiscord IntegrationNotion IntegrationNotion CalendarCLI for Agents

API Reference

AuthenticationEmailsWebhooksInboxesDomainsReal-time (SSE)API Playground

Product

  • Features
  • Pricing

Legal

  • Terms of Service
  • Privacy Policy

Resources

  • Documentation
  • Blog
  • Discord

Contact

[email protected]

© 2026 Mailhooks. All rights reserved.

What will you build?What will you build?

Developers use Mailhooks to turn inbound email into real-time events — here's what they're building.

mailhooks.dev/dashboard
Mailhooks dashboard showing incoming emails from multiple sources

Popular use cases

The most common ways developers integrate Mailhooks

🔗

Email to Webhook

Trigger your app the moment email arrives — no polling, no IMAP, no delays.

Every inbound email becomes an instant HTTP POST to your endpoint. Structured JSON with headers, body, and attachments as URLs.

Learn more
Email to Webhook
🧪

E2E Email Testing

No more flaky email tests. No shared inboxes. No sleep().

Each test gets its own inbox — no race conditions in parallel CI. Wait for emails deterministically, not with polling. Auto-extract magic links and OTPs without regex.

Learn more
✓ Magic link auto-extracted
✓ Test passed (2.1s)

Using @mailhooks/sdk · npm i @mailhooks/sdk

🤖

AI Agent Mailbox

Give every AI agent its own email address with instant delivery.

No IMAP polling or shared inbox conflicts. Each agent gets a dedicated address with webhook or SSE delivery in milliseconds.

Learn more
⏳ Waiting for email...
✓ From: [email protected]
Subject: Partnership opportunity
"Looking for an email partner..."

Using @mailhooks/cli · npx @mailhooks/cli

More ways to use Mailhooks

Every inbound email problem has a solution

📝

Email to Notion

Save emails as structured Notion database entries automatically.

🎮

Discord Notifications

Get instant email alerts in your Discord server. No code required.

⚡

n8n Email Trigger

Kick off n8n workflows from inbound email — no IMAP node needed.

💬

Reply-by-Email

Let users respond to notifications from their inbox — no portal login.

📎

Email Attachments

Extract, store, and process attachments with structured metadata.

📅

Email to Notion Calendar

Sync meeting invites to Notion with attendees and RSVP statuses.

🔍

AI Email Parser

Parse emails with LLMs, not regex. Pre-structured JSON for your AI.

📋

Contact Form Webhook

Turn form email submissions into instant webhooks for any site.

Developer guides

Learn about inbound email and how email-to-webhook works.

What is inbound email?

A developer guide to receiving emails in your application.

IMAP vs webhooks

Compare the two approaches to receiving email.

Why receiving email is hard

The challenges of building email infrastructure.

Email to webhook explained

How email-to-webhook services work.

Email webhook

Receive inbound email as HTTP webhooks — real-time, no polling.

Inbound email API

Receive and parse inbound email through a REST API.

Compare Mailhooks to alternatives

See how Mailhooks compares to other inbound email services.

Mailhooks vs Mailgun

Simpler alternative for inbound email webhooks

Mailhooks vs SendGrid

Better DX for email webhook processing

Mailhooks vs CloudMailin

Modern stack and transparent pricing

Notion Mail alternative

Notion Mail shuts down 22 Sept 2026 — keep email flowing into your Notion databases

Don't see your use case?

Mailhooks works with any application that can receive webhooks or call an API. Get started and see how it fits your workflow.