agentleFS
silvioventresilvioventre/lovable-skills/skills/build/emails/SKILL.md

emails

Skill4 starsChanged 4 months agoMITView on GitHub

Use when the app needs to send email, or email it already sends is going wrong — "send emails from my own domain", "add order confirmation emails", "brand my auth emails", "customize the password reset email", "my emails are going to spam", "emails aren't sending", "set up a sending domain", "add a notification email when someone signs up", "my template changes aren't showing". Covers the two kinds of transactional email an app sends, setting up a verified sending domain, generating and customizing templates, and the deliverability practices that decide whether messages reach the inbox. Not for marketing campaigns or newsletters, which are a different kind of sending with different rules.

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use paywalls, popups and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CesarjoquinSkill

    paywalls

    When the user wants to create or optimize in-app paywalls, upgrade screens, upsell modals, or feature gates. Also use when the user mentions "paywall," "upgrade screen," "upgrade modal," "upsell," "feature gate," "convert free to paid," "freemium conversion," "trial expiration screen," "limit reached screen," "plan upgrade prompt," "in-app pricing," "free users won't upgrade," "trial to paid conversion," or "how do I get users to pay." Use this for any in-product moment where you're asking users to upgrade. Distinct from public pricing pages (see cro) — this focuses on in-product upgrade moments where the user has already experienced value. For pricing decisions, see pricing.

    Also in 12 projects that use this

  • CesarjoquinSkill

    popups

    When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also use when the user mentions "exit intent," "popup conversions," "modal optimization," "lead capture popup," "email popup," "announcement banner," "overlay," "collect emails with a popup," "exit popup," "scroll trigger," "sticky bar," or "notification bar." Use this for any overlay or interrupt-style conversion element. For forms outside of popups, see cro. For general page conversion optimization, see cro.

    Also in 12 projects that use this

  • ScaleBrickSkill

    competitors

    Audit competitors using ScaleBrick's 3-surface framework (social, web/pages, SEO). Categorizes their pricing, features, and landing pages. Identifies gaps you can exploit, positioning angles no one is claiming, and specific moves you can make this week.

    Also in 13 projects that use this

  • ukunal91appSkill

    community-marketing

    Build and leverage online communities to drive product growth and brand loyalty. Use when the user wants to create a community strategy, grow a Discord or Slack community, manage a forum or subreddit, build brand advocates, increase word-of-mouth, drive community-led growth, engage users post-signup, or turn customers into evangelists. Trigger phrases: "build a community," "community strategy," "Discord community," "Slack community," "community-led growth," "brand advocates," "user community," "forum strategy," "community engagement," "grow our community," "ambassador program," "community flywheel.

    Also in 12 projects that use this

  • +8 more from Cesarjoquin

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep transactional email strictly transactional: No marketing, no upsells, no promotional language — especially in auth emails.

    line 33

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Emails

Two things decide whether email works: whether the app sends the right message at the right moment, and whether that message reaches the inbox. The second is the one people discover late, and it is largely determined by choices made in the first weeks of sending.

Two kinds of email, one set of rules

Triggered byTemplatesUnsubscribe
Auth emailsCloud Auth, on account and identity eventsSix built-in, generated on requestNot required — they are necessary for service
App emailsYour application logic, on things happeningNone built in; generated from what you ask forAdded automatically, and must stay

The six auth templates cover signup confirmation, password reset, magic link, invite, email change, and reauthentication. App emails are whatever your product needs — order confirmations, shipping notices, account updates.

Both are transactional: sent because a specific person did a specific thing. That is not a category label, it is the constraint that governs everything below.

Route the task

The taskPlaybook
Setting up a sending domain, DNS, verificationreference/setup.md
Generating or customizing templatesreference/templates.md
Adding a new app email to a flowreference/templates.md
Emails going to spam, or building reputationreference/deliverability.md
Emails not sending, domain stuck, changes not showingreference/troubleshooting.md

The rules

Keep transactional email strictly transactional. No marketing, no upsells, no promotional language — especially in auth emails. Mixing them triggers spam filtering and costs you the deliverability of the messages that actually matter, like password resets.

Never remove the unsubscribe footer from app emails. It is added automatically, removing it violates sending requirements, and it feeds a suppression list that blocks future sends to people who opted out. Auth emails do not carry one and do not need it.

Do not send bulk test emails from a new domain. The instinct after setup is to fire off twenty tests. That is precisely the pattern that damages a fresh domain's reputation, because it looks like exactly what spammers do. Send a couple, then let real user traffic build the reputation.

Template changes require a redeploy. Editing template files and seeing old emails arrive is not a bug. Ask for a redeploy.

Links inside an email should point at the sending domain. Inbox providers compare the two, and a mismatch is a phishing signal.

Keep the outer email body white. Inner components can carry brand colours; the outer background must stay #ffffff or rendering breaks across email clients.

Constraints worth knowing before designing a flow

  • 100 emails per hour per workspace. A flow that fans out to many recipients at once will hit this. Design around it or request a higher limit.
  • 50,000 transactional emails per month included per paid workspace, counted across every project in it.
  • Domains are workspace-level, one active per project. Deleting a domain is workspace-wide, and every project using it falls back to default auth emails while app emails stop entirely.

Report

Say which domain is sending, whether it is verified, and — for anything touching templates — whether a redeploy has happened. An email change that was never redeployed looks identical to one that did not work.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.