fix(confirmation): detect confirm emails whose CTA hint is in the link text

Weak subscribe/subscription signals are now matched on the link href OR its
visible text (matched once, not additively), so a double opt-in email whose
button reads "Yes, subscribe me…" over an opaque tracking-redirect href is no
longer missed. Adds a regression test with anonymized fixture data.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Julien Herr
2026-05-25 22:36:16 +02:00
parent b6b160a186
commit bb9fce72ff
3 changed files with 34 additions and 5 deletions
+7
View File
@@ -12,6 +12,13 @@ verbatim as the GitHub Release notes — so what you write here is what ships.
## [Unreleased]
### Fixed
- Subscription-confirmation detection now recognises a confirm email whose CTA
button carries the subscribe/subscription hint only in its visible text (e.g.
"Yes, subscribe me to this mailing list.") over an opaque tracking-redirect
href — previously the link scored zero and the email was missed.
## [0.3.1] - 2026-05-25
### Fixed