Turn incoming email into a webhook

Send mail to a Mailrexo address and a signed webhook reaches your automation the moment it arrives. Start a Zapier, Make or n8n workflow, or your own code, from any email.

POST https://hooks.example.com/…200 OK
{
  "event": "email.received",
  "data": {
    "id": 48213,
    "to": "orders@yourbusiness.com",
    "from": "shop@example.com",
    "subject": "New order #1042",
    "receivedAt": "2026-11-19T09:42:10Z"
  }
}
A simplified example of the email.received event.

Email is still where the work starts

Orders, leads, invoices and alerts often arrive only by email. A webhook moves them into your tools without anyone copying them by hand.

Instant
The webhook fires the moment mail arrives, with no inbox polling.
Signed
An HMAC-SHA256 signature on every request, so you can trust what you act on.
Full message on request
One API call returns the text, HTML, links, likely verification code and attachments.
Any address
A Mailrexo address, your own domain, or catch-all for every address on it.
Delivery history
See each request and the status your endpoint returned, and send a test event.
Inbox events too
inbox.created and inbox.deleted keep your system in step with the dashboard.

What people automate

Orders into a spreadsheet
Every order confirmation adds a row to Google Sheets or Airtable.
Leads into your CRM
Contact-form and partner emails become new leads, with the sender filled in.
Invoices to accounting
Supplier invoices sent to bills@ are saved with their PDF attachments.
Alerts into tickets
Monitoring or vendor emails open a ticket or page whoever is on call.
Codes for your tests
Signup codes reach your test suite without polling. See the email API.

Setup

The same steps work in Zapier, Make, n8n or your own code.

  1. Create a webhook URLStart a workflow with a webhook trigger and copy its URL.
  2. Add it to MailrexoOn the Webhooks page, paste the URL and choose email.received.
  3. Send a testPress Test to check that your workflow receives the event.
  4. Fetch the messageAdd an HTTP step that calls GET /messages/{id} with your API key, then use the fields you need.

Webhooks, forwarding or alerts

Three ways to get mail out of Mailrexo, for different jobs.

QuestionWebhooksForwardingAlerts
Goes toYour server or automationAny email addressTelegram, Discord, Slack
Best forStarting workflowsReading mail where you already doTelling people right away
FromProPremiumPremium

Questions

Which plans include webhooks?

Pro and Business. The API that returns the full message is on Premium, Pro and Business.

What does the webhook contain?

The email.received event carries the message id, the inbox, the recipient, the sender and sender name, the subject and the time it arrived. To get the body, links, verification code or attachments, call GET /messages/{id} with your API key.

Does it work with Zapier, Make and n8n?

Yes, with any tool that can receive a webhook and make an HTTP request: a webhook trigger such as Catch Hook in Zapier, a custom webhook in Make, or the Webhook node in n8n. Mailrexo isn’t an official app in those tools, so you connect it with their webhook and HTTP steps.

How do I know a request came from Mailrexo?

Every request carries an X-Mailrexo-Signature header: an HMAC-SHA256 of the body made with your signing secret. Check it on your server before you act on the data.

What should my endpoint reply?

A 2xx status within 4 seconds. Do slow work after you reply. The Webhooks page shows each delivery and its status, and can send a test event.

Can I use my own domain?

Yes. Create inboxes on your own domain, and on Pro turn on catch-all so any address on it reaches your workflow.

More from Mailrexo

Let your inbox start the work.

Get Pro