I got annoyed with form backends. Every static site needs a contact form, and the usual services give you 50 submissions a month before asking for money. So I built my own, called it sendm8, and made it free. It's been live since mid-September.
The whole thing runs on one Cloudflare Worker on the free plan: Hono for routing, D1 for the database, R2 for file uploads and Workers AI for spam. The only thing I pay for is email (Resend).
It's open source (AGPL), so you can also run your own copy: https://github.com/m8team/sendmate
You don't need an account to use it. Put your email address in the form's action:
<form action="https://sendm8.com/f/you@example.com" method="POST">
<input type="email" name="email" required>
<textarea name="message" required></textarea>
<input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off">
<button>Send</button>
</form>
The first submission sends you a confirmation link. Click it and everything after that lands in your inbox. If you sign in later with the same address, the form moves into your account with every submission so far, and you get a dashboard, CSV export, and delivery to Discord, Slack, Telegram or a webhook.
The field names match Formspree's (_replyto, _subject, _next, _gotcha), so moving over is usually just changing the URL.
The free plan has hard limits, and most of the interesting decisions came from those:
All the limits live in one file, and the marketing site reads the same numbers the Worker enforces, so the pricing page can't drift from reality.
Spam was harder than I expected. There's a honeypot and some simple rules (link counts, markup links, throwaway email domains, keyboard mash), and then Workers AI scores what's left. A Llama model gives each submission a 0–100 spam score, and only a confident score bins it on its own.
The model gets things wrong in fairly predictable ways, so there are a few exceptions:
Then one day Cloudflare retired the model I was using, and the AI check silently stopped for most of a day. I now test candidate models against a few hundred real past submissions before switching, rather than guessing.
This is the bit I like most. About 50 people have a form on it now, submissions have come in from 36 countries, and almost none of the uses are what I pictured:
No marketing so far. I honestly don't know how most of them found it yet, which is half the reason for this post.
If you'd rather not depend on me, the repo deploys to your own Cloudflare account, and there's a Dockerfile for running it anywhere else (minus the AI spam check, which only runs on Cloudflare). The defaults fit inside Cloudflare's and Resend's free plans.
Feedback welcome, especially if you try to break the spam filter.