MarkRelay Feature Suite

Everything you need to own your email infrastructure

From multi-domain two-way webmail to developer HTTP APIs, campaign broadcasts, and programmable AI agent mailboxes — all hosted on your own Cloudflare edge.

Product

Mailboxes, sending and receiving, broadcasts, the API, webhooks, agents and access.

Multi-domain

Multi-Domain Mailboxes

Manage all your domains, brands, and mailboxes from a single self-hosted app. Unify communication with total data ownership.

No app-level domain cap: Add domains without a MarkRelay per-domain fee, subject to your Cloudflare plan and configuration.
Per-domain mailboxes: Create isolated addresses and mailboxes under each domain you own.
One console for every brand: Switch between brands and domains without juggling separate accounts.
Two-way email

Send & Receive

It's a real mailbox, not just an outbound API. Receive, read, reply, and forward — keep every customer conversation organized in one place.

Receive & store: Inbound email lands in your mailboxes and is stored in your own account.
Reply & forward: Respond to customers and forward threads without leaving the app.
Threaded conversations: Messages are grouped into threads so context never gets lost.
Marketing & bulk email

Broadcasts

Send marketing campaigns, sales email, newsletters, and product announcements, with the unsubscribe and suppression tools that compliant bulk email needs built in.

No MarkRelay per-message fee: Your only ongoing infrastructure charges come from your own Cloudflare account.
Recipient lists: Import and edit up to 100,000 deduplicated recipients, with custom columns for personalization.
One-click unsubscribe: Every broadcast carries List-Unsubscribe headers (RFC 8058) and an unsubscribe link, and the pre-send check warns when the footer has none.
Developer API

Email API

A small, versioned HTTP API for sending, listing, reading, replying, forwarding, and transferring attachments — hosted on your deployment.

Plain HTTP, no SDK: Any language that can make an HTTP request can send email.
Send & receive: The same simple API covers outbound and reading your inbox.
Simple auth: Personal `sk-` API keys with simple Bearer authentication.
AI agents

AI Agents

Let agents send and receive email over a clean, predictable HTTP API — ideal for automated workflows, tool use, and human-in-the-loop email.

Works in your coding agent: Claude Code, Codex, OpenClaw, Hermes and Pi install the same skill file and use your mailboxes when you ask.
Machine-readable discovery: OpenAPI 3.1, interactive docs, llms.txt, and an installable agent skill ship with every deployment.
Per-agent keys: Give each agent a personal key narrowed to a domain or selected mailboxes.
Team management

Team & Permissions

Invite teammates and control exactly which domains and mailboxes each can access. Clear roles, clean boundaries — no guesswork.

Invite your team: Bring colleagues into the app and collaborate on shared mailboxes.
Scoped access: Grant access per domain or mailbox — people see only what they should.
Admin and member boundaries: Administrators manage the deployment while members work only in granted scopes.
Inbound email

Email to Webhook

Every email sent to an address on your domain becomes a signed JSON POST to your endpoint: parsed sender, subject, text, HTML, headers and attachments, with no server and no polling.

Parsed JSON: Sender, recipients, subject, text, HTML, headers and attachments.
Signed: HMAC-SHA256 over the timestamp and raw body.
Retried: At-least-once delivery, with a log in the dashboard.

Use cases

Newsletters, private email, and a mailbox for each AI agent.

Self-Hosted Newsletter

Design each issue in a visual editor, import your list, and send from your own domain through your own Cloudflare account, with one-click unsubscribe and a suppression list built in.

Read more
Private Email

MarkRelay runs team email inside your own Cloudflare account: your messages, attachments and contacts stay in your own database and storage, no email vendor keeps a copy of your mailbox, and there is no mail server to run or patch.

Read more
Newsletter Without Tracking

MarkRelay Broadcasts sends your newsletter from your own domain and your own Cloudflare account with no open-tracking pixel and no rewritten links unless you turn them on for a broadcast.

Read more
One Mailbox for an AI Agent

Create a mailbox for the agent on your own domain and give it an API key that can reach only that mailbox — instead of an OAuth grant to your entire Gmail account.

Read more
Email for OpenClaw

Create agent@yourdomain.com in your own Cloudflare account, give OpenClaw a key that reaches only that mailbox, and install the MarkRelay skill. OpenClaw can then read, search, send and reply from that address, and nothing else.

Read more
Email for Claude Code

Create agent@yourdomain.com in your own Cloudflare account, give Claude Code a key that reaches only that mailbox, and install the MarkRelay skill. Claude Code can then read, search, send and reply from that address, and nothing else.

Read more
Email for Codex

Create agent@yourdomain.com in your own Cloudflare account, give Codex a key that reaches only that mailbox, and install the MarkRelay skill. Codex can then read, search, send and reply from that address, and nothing else.

Read more
Email for Hermes Agent

Create agent@yourdomain.com in your own Cloudflare account, give Hermes Agent a key that reaches only that mailbox, and install the MarkRelay skill. Hermes Agent can then read, search, send and reply from that address, and nothing else.

Read more
Email for Pi

Create agent@yourdomain.com in your own Cloudflare account, give Pi a key that reaches only that mailbox, and install the MarkRelay skill. Pi can then read, search, send and reply from that address, and nothing else.

Read more

Compare MarkRelay

How it stacks up against hosted email services and other ways to run email on Cloudflare.

Email apps on Cloudflare

Cloudflare Email Routing receives and Email Sending sends, but neither gives you an inbox. These open-source projects and MarkRelay do, inside your own Cloudflare account.

Read the comparison
vs Google Workspace

If you pay for Workspace mostly to get email on your own domains, MarkRelay gives every domain, shared inbox and teammate a mailbox under one flat license, in your own Cloudflare account.

Read the comparison
vs Resend

Deployed into your own Cloudflare account with no VPS: send, receive, reply and forward over HTTP, get a signed webhook for every inbound message, and open the same mailboxes in webmail.

Read the comparison
vs AgentMail

AgentMail is a hosted inbox API priced by inboxes and email volume. MarkRelay gives agents mailboxes on your own domain, inside your own Cloudflare account, for one license.

Read the comparison
vs Cloudflare agentic-inbox

Both run in your own Cloudflare account. agentic-inbox is a free single-trust-boundary inbox with a built-in AI assistant; MarkRelay adds per-mailbox access, scoped keys, webhooks, broadcasts and support.

Read the comparison
vs Mailchimp

Send newsletters and campaigns from your own domain on Cloudflare, for a flat license plus Cloudflare's per-email price, with your list in your own database.

Read the comparison
vs listmonk

Self-hosted newsletters and campaigns on Cloudflare Workers, D1 and R2, with sending through Cloudflare Email Sending and replies in a real inbox.

Read the comparison
vs SendGrid

One HTTP API to send and receive from your own domain, signed webhooks for inbound mail, a web inbox for your team and broadcasts built in, deployed in your own Cloudflare account.

Read the comparison
vs Mailgun

Cloudflare Email Routing receives your mail, MarkRelay stores it and posts each message to your app as an HMAC-signed inbound webhook, and replies go out from the same address.

Read the comparison
vs Substack

Send your newsletter from your own domain and your own Cloudflare account, keep the whole list, and pay no share of revenue. Your website and payments stay with the tools you already use.

Read the comparison
vs beehiiv

beehiiv prices by list size. MarkRelay is one license plus Cloudflare's per-email price, and every issue goes out from your own domain and your own Cloudflare account.

Read the comparison

100% Self-Hosted on Cloudflare Edge

Your Worker compute, D1 SQLite database, R2 storage bucket, and Email Routing bindings belong directly to your account. No per-seat subscriptions, no data lock-in.

Ready to deploy your email stack?

Annual, Lifetime with every future update, or Source with the full code.