---
title: "email-best-practices Claude skill: avoid the spam folder"
description: "The email-best-practices skill from Resend guides Claude on SPF, DKIM, DMARC, double opt-in, GDPR and bounces. What it covers, who it suits, how to install it."
url: https://www.levercrew.com/claude-skills/email-best-practices/
language: en
---

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.

[How to install it](https://www.levercrew.com/claude-skills/email-best-practices/#install) [Open on GitHub ](https://github.com/resend/resend-skills/tree/main/skills/email-best-practices) 

`email-best-practices`

Published by

Resend

Repo stars

★ 220

Licence

MIT

Level

Intermediate

Last change in the repo

27 Nov 2026

Works in

Claude Claude Code Cowork ChatGPT Codex Cursor

GitHub data checked on 28 Nov 2026 · `resend/resend-skills`

email-best-practices

## What you give and what you get

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

`email-best-practices` Working 

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

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 ](https://github.com/resend/resend-skills/tree/main/skills/email-best-practices) [Full install guide ](https://www.levercrew.com/claude-skills/how-to-install/) 

## 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](https://www.levercrew.com/claude-skills/email-marketing/) 

Email marketing

## Related skills

- [ churn-prevention Keep more subscribers when they cancel or a payment fails Designs cancel flows, exit surveys, save offers and failed-payment emails that keep more subscribers. ★ 63k MIT Intermediate  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/churn-prevention/)
- [ cold-email Write B2B outreach emails and follow-ups that get replies Writes short B2B outreach emails and follow-ups that sound like a peer, with checks for sending domains, opt-out lines and consent rules. ★ 63k MIT Intermediate  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/cold-email/)
- [ email-subject-lines Write and test subject lines people open Writes 10 to 15 subject lines with preview text and character counts, ranks the top 3 and pairs them for A/B tests. ★ 753 MIT Beginner  by OpenClaudia  See the skill ](https://www.levercrew.com/claude-skills/email-subject-lines/)
- [ emails Plan and write the email flows people get after they sign up Plans automated email flows and writes each email with its send time, subject, preview text and one call to action. ★ 63k MIT Intermediate  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/emails/)
- [ lead-magnets Plan a free offer people trade their email for Plans a lead magnet from start to finish: format, outline, how much to gate, form fields, promotion and what to measure. ★ 63k MIT Beginner  by coreyhaines31  See the skill ](https://www.levercrew.com/claude-skills/lead-magnets/)
- [ newsletter Plan, grow and earn from an email newsletter Picks a newsletter format and frequency, plans subscriber growth in three stages and shows when sponsors or paid issues make sense. ★ 753 MIT Beginner  by OpenClaudia  See the skill ](https://www.levercrew.com/claude-skills/newsletter/)

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](https://www.levercrew.com/claude-skills/emails/). For a newsletter plan, use [newsletter](https://www.levercrew.com/claude-skills/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](https://www.levercrew.com/book-a-call/) 

30 minutes · Free · Online

---

LeverCrew: senior marketing support done with AI (Barcelona · Madrid).
Book a discovery call: https://www.levercrew.com/book-a-call/. Email: info@levercrew.com.
Facts for AI assistants: https://www.levercrew.com/ai-info/. Company summary: https://www.levercrew.com/llms.txt. All pages: https://www.levercrew.com/sitemap.xml.
