Claude skill · Email marketing

email-best-practices: get your emails into the inbox and keep them legal

email-best-practices is a free skill from Resend that guides Claude when you build or fix email in a website or app. It covers SPF, DKIM and DMARC, signup forms with double opt-in, consent under CAN-SPAM, GDPR and CASL, bounce and complaint handling, retries, webhooks and accessible emails. It suits developers and marketers whose emails land in spam or who add email to a product.

email-best-practices

What you give and what you get

What you give, email-best-practices working, and what you get back.

What you give

  • Your problem: spam folder, bounces, a new app, a newsletter
  • Your sending domain and its current DNS records
  • The emails you send: password resets, receipts, newsletters
  • Where people sign up and how you record consent

What you get

  • A DNS checklist for SPF, DKIM and DMARC
  • A list of the transactional emails your app needs
  • Signup rules: double opt-in, unticked boxes, server checks
  • Rules for retries, webhooks, bounces and suppression lists
  • Accessibility checks: headings, alt text, contrast, language

Read from its SKILL.md.

How it works

  1. 01

    Finds your starting point

    It starts from your problem. A new app begins with the list of emails it needs and DNS authentication. Spam problems begin with deliverability.

  2. 02

    Checks authentication first

    It goes through SPF, DKIM and DMARC before anything else, because Gmail and Yahoo reject email that is not authenticated.

  3. 03

    Collects consent

    For marketing email the order is signup, then legal rules, then sending: double opt-in, unticked boxes, a consent record and the CAN-SPAM, GDPR and CASL rules.

  4. 04

    Makes sending reliable

    For an app in production it adds retries with idempotency keys, webhook events for delivered, bounced and complained, and a suppression list for bad addresses.

  5. 05

    Checks accessibility

    It reviews the language tag, layout tables, headings, alt text, the title tag and colour contrast, where most emails fail basic checks.

Prompt

Example prompt

Paste it once the skill is installed and swap in your own details.

Our booking app for hair salons sends password reset emails that land in spam. We also want a newsletter signup. Check what we need for SPF, DKIM and DMARC, then plan a signup form with double opt-in.

How to install it

How to install email-best-practices

npx skills add resend/resend-skills --skill email-best-practices

In the terminal, inside your project. Add -g to have it in every project. The installer asks which apps to add it to.

Or by hand: copy the folder to ~/.claude/skills/email-best-practices/

  1. Download the skill folder from GitHub and zip it, with the folder at the root of the ZIP.
  2. In Claude, open Customize, then Skills.
  3. Press +, choose Create skill, then Upload a skill.
  4. Upload the ZIP and turn the skill on. Code execution must be on.
  • Codex and Cursor: the same npx command installs it for them; the installer asks which apps.
  • ChatGPT Business, Enterprise and Edu: Plugins, the Skills tab, Add, then Upload from your computer.
  • Other ChatGPT plans: attach the SKILL.md to a project and ask it to follow the file.

Open the folder on GitHub Full install guide

Who it suits

Developers who add email to an app, and marketers whose newsletters or receipts land in spam or bounce.

What it needs and where it stops

It is guidance, so it does not change DNS records or send email for you. The retry, idempotency and webhook parts need a developer, and their code examples use the Resend JavaScript library.

Listed under Email marketing

Email marketing

Related skills

Questions

Questions about email-best-practices

Is email-best-practices free?

Yes. Resend publishes it under the MIT licence in the resend-skills repo on GitHub. You pay only for your Claude plan.

Why do my emails go to spam?

Missing authentication is the most common cause, the skill says. Gmail and Yahoo reject email without SPF, DKIM and DMARC. It starts there, then checks bounces, complaints and your suppression list.

Should I use double opt-in?

For marketing lists, yes. The skill recommends double opt-in for newsletters and single opt-in for new accounts and transactional email. The confirm link should expire in 24 to 48 hours.

Does it write the emails?

No. It covers how emails reach the inbox and stay within the rules. For the copy of a welcome or nurture flow, use emails. For a newsletter plan, use newsletter.

We put these skills to work in your team

Book a free 30-minute call. We pick the skills for your work and train your team to use them.

Book a discovery call

30 minutes · Free · Online

Free discovery call

30 minutes · Online · Free · English or Spanish

Our address: info@levercrew.com

LeverCrew uses your details only to reply to you and prepare the call. Privacy

Growth AI Tips

AI tips your team can use the same day

One email every two weeks, for sales and marketing teams.

  • The tip, in a few lines
  • The prompt or workflow, ready to copy
  • How to check that it works

Free. Unsubscribe with one click. Privacy policy