Skip to content

Bring your own
Amazon SES.

An open-source email marketing app. It runs on your server and sends through your own AWS account.

Write it once. Each contact gets their own copy.

Pick a contact. The variables fill in, and the unsubscribe link is theirs.

Newsletter · Spring update

Contact of the example email

What you write

Subject: Hello {{ name }}, the spring update is here

<p>Hello {{ name }},</p>
<p>Three new features shipped this month.</p>

<p>{{ postal_address }}</p>
<a href="{{ unsubscribe_url }}">Unsubscribe</a>

Default value of {{ name }}: "there"

What the contact gets

To: ana@example.comben@example.comchen@example.com

Hello AnaBenthere, the spring update is here

Hello AnaBenthere,

Three new features shipped this month.

Example Inc, 100 Example Street, Springfield

Unsubscribe

List-Unsubscribe-Post: List-Unsubscribe=One-Click

Example data. Legendsverse sends its email with BYOMailer.

Your AWS account does the sending

Each account connects its own AWS keys. Your contacts, your sender reputation and your AWS bill stay yours.

  1. 1

    BYOMailer

    On your server. It keeps the lists, the editor, the campaigns and the stats.

  2. 2

    Amazon SES

    In your AWS account. It sends each email from your verified domain.

  3. 3

    Back to BYOMailer

    SES events come back through SNS and SQS. Bounces and complaints stop future sends.

How BYOMailer works

Connect your app, your agent or your server

The same API token works for the REST API and the MCP server.

Way to connect

Add a contact from your signup form

Send the email, a name and tags. Other fields become custom attributes.

API reference

Terminal

curl -X POST https://mail.example.com/api/v1/lists/1/contacts \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "ana@example.com",
    "name": "Ana",
    "tags": ["customer"]
  }'

Let your AI agent draft the campaign

The agent reads stats and writes drafts. A change to a live campaign waits for your yes.

MCP server docs

Terminal

claude mcp add byomailer \
  --transport http https://mail.example.com/mcp \
  --header "Authorization: Bearer YOUR_API_TOKEN"

Hear about each subscribe and send

Each request is a signed POST. Check the signature with your secret.

Webhook docs

HTTP

POST /hooks/byomailer HTTP/1.1
X-Byomailer-Event: contact.subscribed
X-Byomailer-Signature: sha256=SIGNATURE

{
  "event": "contact.subscribed",
  "occurred_at": "2026-11-17T10:00:00+00:00",
  "contact": { "email": "ana@example.com", "name": "Ana" }
}

Everything is in the open-source app

Every feature is in the code. Nothing is held back for a hosted version.

Newsletters
A block editor, saved segments and A/B tests.
Sequences
Drip emails with a delay and filters for each step.
Automations
Act when a contact joins a list, gets a tag or finishes a sequence.
Contacts
Lists, topics, tags and custom attributes. CSV import and export.
Templates and blocks
Reuse a layout. Fill it with variables for each contact.
Deliverability
Bounces and complaints stop future sends to that address.
One-click unsubscribe
RFC 8058 headers and a preference center for each contact.
Teams
Admin, editor and viewer roles. Two-factor sign-in.

Self-hosted or hosted? The honest trade.

A hosted email service is a good choice when you do not want to run a server or an AWS account.

TopicBYOMailerHosted email services
Where the app runsOn your serverOn the servers of the vendor
Who sends the emailAmazon SES, in your own AWS accountThe mail servers of the vendor
CostYour server and your AWS bill. No fee for each contactA monthly fee that grows with your list
Contacts and reputationIn your database and on your sending domainStored by the vendor, on shared infrastructure
Source codeOpen. Read it, change it, audit itClosed
Uptime and supportYour job. One maintainer answers issuesThe vendor runs it, with a support team

Up and running with Docker Compose

  1. 1Clone the repository.
  2. 2Copy .env.example to .env and fill it in.
  3. 3Start the stack with Docker Compose.
  4. 4Open the setup URL from the log and create the owner account.

Read the install guide

Terminal

git clone https://github.com/amedina068/byomailer.git
cd byomailer
cp .env.example .env      # then fill in .env
docker compose up -d --build
docker compose logs web       # shows the setup URL

Your list. Your server.

Open source, on GitHub. Read the code, run it, change it.