Fourat (@fourat) profile picture

Building @mailkube (EU-hosted email API) · Created Jasmin, the open-source SMS gateway · 20+ years architecting messaging infrastructure.

/dev/null
Joined April 2008
Photo by Fourat (@fourat)Photo by Fourat (@fourat)Photo by Fourat (@fourat)Photo by Fourat (@fourat)Photo by Fourat (@fourat)Photo by Fourat (@fourat)Photo by Fourat (@fourat)Photo by Fourat (@fourat)Photo by Fourat (@fourat)Photo by Fourat (@fourat)
Gmail and Yahoo's bulk-sender ceiling is a 0.3% spam complaint rate. That's 3 complaints per 1,000 emails. Aim for under 0.1%. Of the senders who changed something for the 2024 rules, 79% updated their authentication (Mailgun's 2025 survey). mailgun.com/state-of-email-d…
1
55
A send() inside a request handler costs a TLS handshake, an AUTH and a delivery, on your user's latency budget. mailkube's relay container answers 250 from a local queue in milliseconds and retries upstream 4xx in the background. github.com/mailkube/mailkube…
12
I sent a first email from a domain mailkube had never seen, without opening the DNS panel once. Cloudflare Auto Setup writes the records. Then it's one curl.
1
28
Cloudflare shows the four records before anything is written. SPF lands on mkube-send, the subdomain your mail is actually sent from, so the SPF record on your apex stays exactly as it is.
1
6
before blaming your email provider, send one test to mail-tester.com. you get a score out of 10, SPF/DKIM/DMARC results, blocklist checks and what SpamAssassin thinks of your content. a few free tests a day. 30 seconds, catches most setup mistakes.
1
76
Moving a Node app from SendGrid to mailkube is a small diff. One import, one constructor, and a send call that takes the same fields. The webhook handler is where the design difference shows.
1
19
Why teams look at switching, from SendGrid's own docs: a suspended account keeps paying its monthly subscription, reactivation runs through the review ticket rather than support, and mail held during a suspension expires after 72 hours. twilio.com/docs/sendgrid/ui/…
1
10
Start DMARC at p=none and read the reports for two weeks. Move to p=quarantine, then p=reject, once nothing legitimate fails. Jump straight to reject and you find the forgotten CRM by having its mail rejected in production.
1
36
mailkube's SMTP limits are per source IP, not per credential: 20 concurrent connections, 600 new ones a minute. Behind NAT or a Kubernetes cluster, every pod draws on the same egress IP's budget. Over it, the connection closes before the greeting, with no reply.
20
mailkube emails send --dry-run prints the exact request it would make and sends nothing. There's no sandbox and no test key, so rehearse new sends this way. github.com/mailkube/mailkube…
13
A webhook receiver gets 10 seconds. mailkube reads only your status code, ignores the body, doesn't follow redirects, and retries anything non-2xx with backoff. So acknowledge first and queue the work. Inline database writes are the usual cause of a retry storm.
2
21
Retries keep the same X-Webhook-Id and carry a fresh X-Webhook-Ts. Store the id and treat a repeat as already handled. Dedupe on the timestamp and every retry looks like a new event.
1
10
Don't sleep on a 429 inside a Lambda. You pay for every millisecond of the wait, and it can still run past your invocation budget. Hand retryAfter back to the caller and let it come back later.
14
Whitelist origin IPs on your API keys. Most key leaks aren't an attacker on your box, it's a key in a git commit, a log, a screenshot, a Slack thread.
Every API key gets an IP access list. Pin a key to your production servers and it stops working from anywhere else. mailkube.com
24
reject unwanted mail during the SMTP transaction. don’t accept it and bounce it later. the bounce goes to a forged sender, which makes you the spammer. spamhaus calls that backscatter and it costs you reputation. 5xx at RCPT TO, not a DSN afterwards. full guidelines in the reply 👇
1
30
a domain registered in the last 24 hours lands on spamhaus’ zero reputation list automatically. their recommendation: wait at least 30 days before sending from a new domain, and warm it up like an IP. need a new stream? use a subdomain, not a fresh lookalike. full guidelines in the reply 👇
1
18
spamhaus is explicit on this one: warm-up services that fake opens, clicks or replies are prohibited. engagement inflation gets you listed. real warm-up is slow volume to engaged recipients, and treating every new IP or HELO as a fresh asset. full guidelines in the reply 👇
1
18
a line from the spamhaus guidelines worth printing out: list validation services don’t clean spam traps and don’t replace permission. validation catches typos and dead domains. it doesn’t make a purchased list yours. full guidelines in the reply 👇
1
18
what spamhaus says about spam traps surprised me the first time I read it. don’t try to identify or remove individual trap addresses. find the source that put them on your list, and remove the source. a mailbox inactive for 12+ months can become a trap. sunset your inactives. full guidelines in the reply 👇
1
19
spamhaus is direct about it: don’t stay at p=none permanently. none is a monitoring mode. you set it, read the reports, fix alignment, then move to quarantine and reject. parking there for years means you have DMARC on paper and nothing else. full guidelines in the reply 👇
1
18
two DKIM details from the spamhaus guidelines most setups miss: 2048-bit keys recommended (1024 is the floor), and rotate at least once a year. most DKIM keys I’ve seen were generated once, years ago, and never touched. full guidelines in the reply 👇
1
15
Thanks for the feature. The unlimited sending domains part is what I'd underline. Most free tiers give you one, and anyone running a side project plus a client thing plus a startup hits that wall immediately. mailkube.com
⇨ mailkube by @fourat provides transactional email infrastructure through REST and SMTP. Send up to 4,000 emails per month for free, use unlimited sending domains and manage templates, webhooks and scheduled delivery. Learn more: devhunt.org/tool/mailkube
1
12
the spamhaus take on SPF: list exactly who sends for you, nothing more. no +all. no includes for vendors you stopped using. prefer ip4: and ip6: over a and mx, because those cost you lookups out of the 10 you get. a tight record beats a complete one. full guidelines in the reply 👇
1
7