← All open source projects

Open source · AGPL-3.0 · Built and maintained by Alejandro Medina

BYOMailer

Email marketing that sends through your own Amazon SES account. Newsletters, drip sequences, automations, a REST API, and an MCP server.

BYOMailer screenshot
Emails a month
30k
MCP tools
44
PHPUnit tests
3,000+
SDK languages (preview)
4

What it does

You connect your own Amazon SES account. You keep your contacts, your sending reputation, and your AWS bill. BYOMailer adds the lists, the editor, the campaigns, and the tracking on top of SES.

Each account brings its own AWS credentials and verifies its own sending domain. Optional custom tracking and link domains keep the links of each sender on the domain of that sender.

BYOMailer sends about 30,000 emails a month in production. In November 2026 I opened the code under the AGPL-3.0.

  • Newsletters

    Write in a block editor, select the audience with filters or saved segments, then send now or schedule. A/B tests on the subject or the content.

  • Sequences and automations

    Drip campaigns with a delay between steps and filters for each step. Automations start when a contact joins a list, gets a tag, or finishes a sequence.

  • Contacts

    Lists, topics, tags, and custom attributes. CSV import and export, a preference center, and a one-click unsubscribe link (RFC 8058).

  • Deliverability

    Records deliveries, bounces, complaints, opens, and clicks from SES. Suppresses the addresses that bounced or complained. A reputation page shows the rates that AWS monitors.

  • API and webhooks

    A REST API with an OpenAPI document and a Postman collection, and outgoing webhooks. The repository has the spec.

  • Teams

    Invite users with the admin, editor, or viewer role. Two-factor authentication and custom domains for each sending identity.

For AI agents

The MCP server has 44 tools for newsletters, sequences, automations, contacts, tags, and sender identities. Drafts never send by themselves. A change to a live record, or a status change, is two calls: the first call returns a preview, and the agent sends the second call only after a person confirms it.

Stack

  • Laravel 13
  • Vue 3
  • MySQL 8.4
  • Redis
  • Horizon
  • Amazon SES
  • Docker

Self-host it

The Docker stack has six services: the web server, Horizon, the scheduler, the SES events reader, MySQL 8.4, and Redis.

git clone https://github.com/amedina068/byomailer.git
cd byomailer
cp .env.example .env   # set APP_KEY, APP_URL, DB_PASSWORD, and the SQS queue
docker compose up -d --build
docker compose logs web   # open the setup URL and create the owner

The full guide is in the documentation.

Repositories

The app uses the AGPL-3.0. The SDKs use the MIT License, so you can put them in closed source code. The docs use CC BY 4.0, and their code examples use the MIT License. The SDKs are not on npm, Packagist, PyPI, or RubyGems yet. Install them from GitHub.

  • App

    AGPL-3.0

    byomailer

    The Laravel app, the Vue dashboard, the REST API, the MCP server, and the Docker files.

  • Docs

    CC BY 4.0 · code: MIT

    byomailer-docs

    The documentation in Markdown. byomailer.com/docs shows these pages. A script compares the pages with the code.

  • SDK · TypeScript

    MIT

    byomailer-js

    One package for Node.js, Bun, Deno, and Cloudflare Workers. No runtime dependencies.

    npm install github:amedina068/byomailer-js
  • SDK · PHP

    MIT

    byomailer-php

    PHP 8.2 to 8.4, with a Laravel integration. Any PSR-18 HTTP client works.

    composer require byomailer/byomailer-php:dev-main

    Add the GitHub repository to the repositories key of composer.json first.

  • SDK · Python

    MIT

    byomailer-python

    Python 3.10 to 3.14, with Django and FastAPI examples.

    pip install "git+https://github.com/amedina068/byomailer-python.git"
  • SDK · Ruby

    MIT

    byomailer-ruby

    Ruby 3.2 to 3.4, with a Rails integration. It uses the standard library only.

    gem "byomailer", github: "amedina068/byomailer-ruby"

I build and maintain BYOMailer alone. Questions, bug reports, and pull requests go to GitHub issues.

Hiring?

I build and maintain BYOMailer alone. I’m available now for a full-time remote role or contract work.