01
It starts by itself
email code changed. Runs in GitHub Actions or Claude Code routine.
- ↻ email code changed
push touching src/backend/main.mo or src/frontend/**
Every marketing mail can unsubscribe.
Install the Extension Email Marketing skill and make it a habit: follow https://gethabit.dev/skills/caffeinelabs/extension-email-marketing.md
28K installs2 starsApache-2.0 licenceSource on GitHub ↗

Extension Email Marketing
by caffeinelabs · 28K installs
The skill
The extension email marketing skill helps Caffeine AI app builders add marketing email to subscribers, with topics, email verification and a working unsubscribe page.
Only when you ask.
The habit
Every marketing mail can unsubscribe.
↻ Runs by itselfemail code changed
When does it start? How does it check its work? What does it remember?
Stops after one pass over the six setup steps per run, with at most one retry.
The agent reads which setup steps failed in the last run.
It confirms the mops packages and the @caffeineai/email-marketing npm package are installed.
It looks for the stable fields emailSubscribers and unsubscribeTokens plus the verification states in the migration chain head.
It confirms mail goes through EmailMarketing.sendMarketingEmail or sendMarketingEmailTo and the body carries {{UNSUBSCRIBE_URL}}.
It confirms the /unsubscribe route is public and uses the useUnsubscribe hook with a button.
It also runs the checks of extension-email-verification, which this skill depends on.
It writes each step as pass or fail to the run log and notifies you on a fail.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Extension Email Marketing skill helps.
No. It only checks that the code which sends mail is set up the way the skill requires.
The skill says a missing route leaves recipients on a page that does not exist, which it calls a compliance failure.
Copy the prompt at the top into your agent. It installs the skill from caffeinelabs/skills and sets up the habit. Or run npx skills add caffeinelabs/skills --skill extension-email-marketing.
Yes. It is published under Apache-2.0. Habit is free too.
Install the Extension Email Marketing skill and make it a habit: follow https://gethabit.dev/skills/caffeinelabs/extension-email-marketing.md
All caffeinelabs skills →More code skills →
Works in
Made by caffeinelabs, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?