← Back to Skills Marketplace
christina-de-martinez

Email Best Practices

by Christina Martinez · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
3900
Downloads
10
Stars
17
Active Installs
1
Versions
Install in OpenClaw
/install email-best-practices
Description
Use when building email features, emails going to spam, high bounce rates, setting up SPF/DKIM/DMARC authentication, implementing email capture, ensuring compliance (CAN-SPAM, GDPR, CASL), handling webhooks, retry logic, or deciding transactional vs marketing.
README (SKILL.md)

Email Best Practices

Guidance for building deliverable, compliant, user-friendly emails.

Architecture Overview

[User] → [Email Form] → [Validation] → [Double Opt-In]
                                              ↓
                                    [Consent Recorded]
                                              ↓
[Suppression Check] ←──────────────[Ready to Send]
        ↓
[Idempotent Send + Retry] ──────→ [Email API]
                                       ↓
                              [Webhook Events]
                                       ↓
              ┌────────┬────────┬─────────────┐
              ↓        ↓        ↓             ↓
         Delivered  Bounced  Complained  Opened/Clicked
                       ↓        ↓
              [Suppression List Updated]
                       ↓
              [List Hygiene Jobs]

Quick Reference

Need to... See
Set up SPF/DKIM/DMARC, fix spam issues Deliverability
Build password reset, OTP, confirmations Transactional Emails
Plan which emails your app needs Transactional Email Catalog
Build newsletter signup, validate emails Email Capture
Send newsletters, promotions Marketing Emails
Ensure CAN-SPAM/GDPR/CASL compliance Compliance
Decide transactional vs marketing Email Types
Handle retries, idempotency, errors Sending Reliability
Process delivery events, set up webhooks Webhooks & Events
Manage bounces, complaints, suppression List Management

Start Here

New app? Start with the Catalog to plan which emails your app needs (password reset, verification, etc.), then set up Deliverability (DNS authentication) before sending your first email.

Spam issues? Check Deliverability first—authentication problems are the most common cause. Gmail/Yahoo reject unauthenticated emails.

Marketing emails? Follow this path: Email Capture (collect consent) → Compliance (legal requirements) → Marketing Emails (best practices).

Production-ready sending? Add reliability: Sending Reliability (retry + idempotency) → Webhooks & Events (track delivery) → List Management (handle bounces).

Usage Guidance
This skill is documentation and example code for building email systems — generally safe and coherent with its description. Before using it: review the examples and adapt them to your environment (don’t paste real API keys into examples), choose appropriate data-retention policies (the docs suggest indefinite suppression lists which can conflict with GDPR/data-minimization), secure webhook endpoints (verify signatures and store secrets safely), and confirm third-party references (Resend/Svix links) fit your vendor choices. If you need the agent to run any of the example code, make sure you provide only the minimal environment variables and credentials required and audit any outgoing network calls the agent will make.
Capability Analysis
Type: OpenClaw Skill Name: email-best-practices Version: 1.0.0 The skill bundle provides comprehensive documentation and illustrative code snippets for email best practices, deliverability, compliance, and reliability. All markdown files serve as informational guides for a developer. Code blocks contain example TypeScript for application logic (e.g., list management, sending reliability, webhook processing) or diagnostic shell commands (`dig`, `ngrok`) intended for a human user to verify external configurations or set up a local environment. There is no evidence of malicious execution, data exfiltration, persistence mechanisms, obfuscation, or prompt injection attempts against the AI agent. The content is entirely aligned with its stated purpose.
Capability Assessment
Purpose & Capability
The name/description (email deliverability, SPF/DKIM/DMARC, webhooks, retries, compliance) align with the included resources and examples. All code snippets and examples relate to sending reliability, deliverability, consent, and webhook processing—no unrelated services, binaries, or credentials are demanded by the skill metadata.
Instruction Scope
SKILL.md and resource files are documentation and examples for implementing email systems. They do include runnable example snippets (TypeScript, bash, curl, dig) and mention environment variables (e.g., RESEND_WEBHOOK_SECRET) and third-party services (Resend, Svix). Nothing in the instructions tells the agent to read arbitrary host files, exfiltrate data, or call unexpected external endpoints. One content note: list-management recommends keeping suppression lists 'indefinite', which can conflict with data minimization and some regional retention requirements (GDPR) — implementers should adapt retention to applicable law.
Install Mechanism
There is no install spec and no code files that would be downloaded or executed. This is instruction-only documentation; no install-related risk is present.
Credentials
The skill declares no required env vars, credentials, or config paths. The documentation shows example usage of environment variables (API keys, webhook secrets) for webhook verification and API calls—these are typical and proportional to the described purpose, but they are only examples; the skill itself does not request them. Users should not assume the skill will automatically access secrets.
Persistence & Privilege
The skill does not request always:true, does not install files or modify agent/system configuration, and is user-invocable only. It does not request persistent/system privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install email-best-practices
  3. After installation, invoke the skill by name or use /email-best-practices
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with comprehensive email best practices: - Provides modular guides covering deliverability, compliance, marketing, transactional emails, webhooks, and list management. - Includes quick-reference links for common scenarios such as authentication (SPF/DKIM/DMARC), spam troubleshooting, and legal compliance. - Architecture diagram outlines recommended email workflow from capture through delivery and suppression. - Shifted focus from CLI/API usage to actionable guidance and implementation resources. - Added 11+ resource documents with in-depth instructions for building reliable and compliant email features.
Metadata
Slug email-best-practices
Version 1.0.0
License
All-time Installs 19
Active Installs 17
Total Versions 1
Frequently Asked Questions

What is Email Best Practices?

Use when building email features, emails going to spam, high bounce rates, setting up SPF/DKIM/DMARC authentication, implementing email capture, ensuring compliance (CAN-SPAM, GDPR, CASL), handling webhooks, retry logic, or deciding transactional vs marketing. It is an AI Agent Skill for Claude Code / OpenClaw, with 3900 downloads so far.

How do I install Email Best Practices?

Run "/install email-best-practices" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Email Best Practices free?

Yes, Email Best Practices is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Email Best Practices support?

Email Best Practices is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Email Best Practices?

It is built and maintained by Christina Martinez (@christina-de-martinez); the current version is v1.0.0.

💬 Comments