Add Inbound Email to Your App

Receive emails via webhooks or real-time push notifications. Handle inbound email with a simple API — no mail server required.

Why receiving email is hard

Building it yourself

  • 4-6 weeks of engineering time
  • MIME parsing edge cases
  • Attachment handling complexity
  • Spam filtering & deliverability
  • 24/7 uptime monitoring

With Mailhooks

  • Running in 2 minutes
  • Structured JSON webhooks
  • Attachments as URLs
  • Automatic spam filtering
  • 99.9% uptime SLA
  • Bring your own cloud storage

Integrate in under 2 minutes

// Receive emails via webhook
app.post('/webhook/email', (req, res) => {
  const { from, subject, text, html } = req.body;

  // Process the incoming email
  console.log('New email from:', from);

  res.sendStatus(200);
});

Choose your delivery method

Two ways to receive emails — pick what works for your architecture

Webhooks

  • Best for servers with public endpoints
  • One-shot HTTP requests
  • Works with serverless functions
  • Automatic retries on failure

Use when: You have infrastructure to receive HTTP requests

Real-time (SSE)

  • Outbound connections only
  • No ngrok needed for local dev
  • Works in browsers and firewalled envs
  • Built-in auto-reconnection

Use when: You can't expose endpoints or need client-side notifications

Start receiving inbound email today

Get your first email webhook in minutes. No credit card required.

Secure payments powered by