Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungWe shipped guest play at 17:39 and deleted it at 18:35(21.09.2026 um 13:32 Uhr)
Sichere ProgrammierungBest MCP Servers 2026: 10 Worth Installing (Tested)(21.09.2026 um 13:42 Uhr)
Sichere ProgrammierungThe Resume Is Dying. What's Replacing It?(21.09.2026 um 13:44 Uhr)
Sichere Programmierung38 clamps, four probits, and one coefficient rounded to 15 digits(21.09.2026 um 13:46 Uhr)
Sichere ProgrammierungGmail deletes your SVG logo and Outlook ignores your flexbox(21.09.2026 um 13:47 Uhr)
Sichere Programmierung'2026-27' is a better database key than a date range(21.09.2026 um 13:49 Uhr)
Sichere ProgrammierungThe CoreDNS Black Hole: how one dead DNS pod broke our API gateway(21.09.2026 um 13:53 Uhr)
Sichere ProgrammierungWe shipped guest play at 17:39 and deleted it at 18:35(21.09.2026 um 13:32 Uhr)
Sichere ProgrammierungBest MCP Servers 2026: 10 Worth Installing (Tested)(21.09.2026 um 13:42 Uhr)
Sichere ProgrammierungThe Resume Is Dying. What's Replacing It?(21.09.2026 um 13:44 Uhr)
Sichere Programmierung38 clamps, four probits, and one coefficient rounded to 15 digits(21.09.2026 um 13:46 Uhr)
Sichere ProgrammierungGmail deletes your SVG logo and Outlook ignores your flexbox(21.09.2026 um 13:47 Uhr)
Sichere Programmierung'2026-27' is a better database key than a date range(21.09.2026 um 13:49 Uhr)
Sichere ProgrammierungThe CoreDNS Black Hole: how one dead DNS pod broke our API gateway(21.09.2026 um 13:53 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

I built an email-to-URL service on Cloudflare Workers — here's what I learned about parsing email threads

The problem Email threads are surprisingly hard to share outside email. Screenshots lose context, forwarding creates quote nesting hell, and copy-paste strips formatting. I built ThreadCrunch — forward any email thread to s…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




The problem



Email threads are surprisingly hard to share outside email. Screenshots lose context, forwarding creates quote nesting hell, and copy-paste strips formatting.



I built ThreadCrunch — forward any email thread to [email protected] and get a clean, readable URL back in seconds.






The stack



Everything runs on Cloudflare:





  • Email Workers — receive inbound email at custom addresses


  • Workers — API + business logic (TypeScript)


  • D1 — SQLite database


  • Pages — Vue 3 + Tailwind frontend



Total monthly infrastructure cost for a solo SaaS: basically zero until you hit scale.






The hard part: parsing email threads



Every email client formats forwarded threads differently:



Outlook uses separator lines and inline header blocks:




From: Alice
Sent: Monday, March 3, 2026
To: Bob
Subject: Re: Project update






Gmail uses "On {date}, {person} wrote:" followed by > quoted lines.



Webmail (Roundcube, etc.) uses RFC 3676 format=flowed, which joins soft-wrapped lines with trailing spaces. This completely destroys thread structure if you let your MIME parser decode it — I had to strip format=flowed from the Content-Type header before parsing and handle space-stuffing manually.



The fun edge cases:




  • Header fields that wrap across lines (long From/To addresses)

  • Outlook messages containing Gmail-style quoted replies inside them

  • Mixed clients in the same thread (someone replies from Outlook to a Gmail chain)






No signup wall



You don't have to sign up before forwarding. If you're not subscribed, the reply email includes a signup link and your threads get processed automatically once payment goes through.






AI analysis



There's also [email protected] which runs the thread through Claude Sonnet for analysis — tone, intent, power dynamics, action items, and a draft reply oriented to the person who forwarded.



The key prompt design insight: doing per-message sequential analysis (tone, emotion, response timing, subtext) before synthesis produces significantly better output than asking for a flat "analyse this thread."






Developer-friendly



Every thread URL has .md and .json endpoints:





  • threadcrunch.io/t/{id}.json — structured JSON


  • threadcrunch.io/t/{id}.md — clean Markdown



Useful if you want to pipe threads into your own LLM tooling or documentation.






Try it



Demo thread: threadcrunch.io/t/5qyi25qv



$5/month, threads auto-delete after 7 days. Would love feedback from the dev community.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten I built an email-to-URL service on Cloudflare Workers — here's what I learned about parsing email threads

Thematisch verwandte Begriffe: built, emailtoURL, service, Cloudflare · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94040 | A flaw has been found in vas3k TaxHacker up to 0.8.5. Affected by this v…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick