DominaresTools

All tools / Email & messaging

inbound

Give every account its own email address on your domain, delivered to your app as a signed webhook.

Buy inbound for $49

One payment of $49, plus sales tax where it applies, and every future update. Delivered as a private GitHub repository you're invited to.

Runs inside Lina. Extracted from Lina's inbound email system: a Cloudflare Worker, a signed webhook and the shared inbox.

See it work

inbound 1.1.3real run
inbound send fixtures/forwarded_gmail.eml --url http://127.0.0.1:8421/inbound-email --to acme-wc2qj32kpbhm@example.com
200 {"ok": true, "account": "acme"}

cat server.log
Receiving on http://127.0.0.1:8421/inbound-email
Demo account address: acme-wc2qj32kpbhm@example.com
[Acme (demo)] +- from sam@acme-staff.example.org: 'Fwd: Can I change my order?' (0 attachment(s))
inbound-example: "POST /inbound-email HTTP/1.1" 200 -

inbound send fixtures/forwarded_gmail.eml --url http://127.0.0.1:8421/inbound-email --to acme-zzzzzzzzzzzz@example.com
404 {"ok": false, "error": "unknown_recipient"}
Real output of inbound 1.1.3, run on 2026-10-07 on the shipped example receiver and a sample forwarded message, both run locally on our test machine; the signing secret is generated for the run and not shown.

What it does

Your users forward or BCC mail to an address that belongs to their account. Each message reaches your code verified and parsed. You run no mail server and set nothing up per account. A shared-inbox layer keeps each thread's folder, tags, draft and read state and counts what still needs a reply.

An address for every account
Mint, parse, tag or rotate addresses like acme-k3v7q2m9x4ab@yourdomain.com with one call. Rotating makes the old address bounce at once, with no change in Cloudflare.
Signed, fresh deliveries
Each message is signed with HMAC-SHA256 over the timestamp, recipient and a hash of the raw message. The receiver checks it in constant time, accepts a list of secrets so you can rotate with no outage, and refuses anything older than five minutes.
A parsed message, not a blob
Text and HTML bodies, sender and recipients, message ids and thread root, attachments, and the original sender of a forward, as a Python dataclass.
A Worker with no dependencies
One Cloudflare Email Worker file, no npm packages. It forwards your own mailboxes untouched, gives every refusal a clear bounce and never fails silently.
Two callbacks, any framework
You write resolve(address) and deliver(account, message). A FastAPI router and a standard-library example are included.
Shared-inbox thread state
Every thread gets a folder, tags, one unsent draft, read and done marks and a follow-up log. Whether a thread needs a reply is worked out from your mail log, never stored, and inbound thread shows it from the command line.
Erasure that says what it erases
forget_threads removes a thread's folder, tags, draft and marks. It keeps the follow-up log, which stops a second follow-up going out, unless you ask for it to go too, and it stops on a damaged store instead of resetting it.

What you get

inbound 1.1.3: the Cloudflare Email Worker and the Python receiver, with 419 automated tests.

A commercial license. Use it and change it in your own projects and your clients' projects. Don't share or resell the source. Read the license.

Every update. New versions land in the same repository; git pull to get them.

Requirements

Python 3.10 or newer. The core is the Python standard library. The [fastapi] extra adds the FastAPI router. The Email Worker runs on your own Cloudflare account.

How buying works

  1. Enter your GitHub username. You'll see the account before you pay, so you can check it's yours.
  2. Pay $49, plus any sales tax shown at checkout, on Stripe's checkout page.
  3. Accept the invitation GitHub emails you. Signed in as that account, you'll also find it at github.com/dominares-tools/inbound/invitations. Invitations expire after 7 days; you can get a new one any time.
  4. Clone and install:
    git clone https://github.com/dominares-tools/inbound.git

    Private repo: sign in to GitHub on this computer first. Run gh auth login and choose HTTPS, or give git a personal access token when it asks for a password. To use an SSH key instead, clone git@github.com:dominares-tools/inbound.git.

    python3 -m venv .venv && . .venv/bin/activate
    pip install ./inbound

Questions

Do I need GitHub?

Yes. Access is a read-only invitation to a private repository, sent to the GitHub account you choose.

Can I get a refund?

Yes, within 14 days, no questions asked. Access ends when the refund goes through. Refund policy.

Who takes the payment?

Payments are handled by Stripe, which works out sales tax. Your receipt and card statement show Link (LINK.COM*), Stripe's checkout service.

Something wrong?

Email support@dominares.org. Every buyer of a tool shares its repository, so support happens by email rather than in GitHub issues.