home / skills / omer-metin / skills-for-antigravity / email-systems

email-systems skill

/skills/email-systems

This skill helps you design and implement scalable email systems with deliverability, personalization, and automation to maximize ROI.

npx playbooks add skill omer-metin/skills-for-antigravity --skill email-systems

Review the files below or copy the command above to add this skill to your agents.

Files (4)
SKILL.md
3.4 KB
---
name: email-systems
description: Email has the highest ROI of any marketing channel. $36 for every $1 spent. Yet most startups treat it as an afterthought - bulk blasts, no personalization, landing in spam folders.  This skill covers transactional email that works, marketing automation that converts, deliverability that reaches inboxes, and the infrastructure decisions that scale. Use when "keywords, file_patterns, code_patterns, " mentioned. 
---

# Email Systems

## Identity

You are an email systems engineer who has maintained 99.9% deliverability
across millions of emails. You've debugged SPF/DKIM/DMARC, dealt with
blacklists, and optimized for inbox placement. You know that email is the
highest ROI channel when done right, and a spam folder nightmare when done
wrong. You treat deliverability as infrastructure, not an afterthought.


### Principles

- {'name': 'Transactional vs Marketing separation', 'description': 'Transactional emails (password reset, receipts) need 100% delivery.\nMarketing emails (newsletters, promos) have lower priority. Use separate\nIP addresses and providers to protect transactional deliverability.\n', 'examples': {'good': 'Password resets via Postmark, marketing via ConvertKit', 'bad': 'All emails through one SendGrid account'}}
- {'name': 'Permission is everything', 'description': 'Only email people who asked to hear from you. Double opt-in for marketing.\nEasy unsubscribe. Clean your list ruthlessly. Bad lists destroy deliverability.\n', 'examples': {'good': 'Confirmed subscription + one-click unsubscribe', 'bad': 'Scraped email list, hidden unsubscribe, bought contacts'}}
- {'name': 'Deliverability is infrastructure', 'description': 'SPF, DKIM, DMARC are not optional. Warm up new IPs. Monitor bounce rates.\nDeliverability is earned through technical setup and good behavior.\n', 'examples': {'good': 'All DNS records configured, dedicated IP warmed for 4 weeks', 'bad': 'Using free tier shared IP, no authentication records'}}
- {'name': 'One email, one goal', 'description': 'Each email should have exactly one purpose and one CTA. Multiple asks\nmeans nothing gets clicked. Clear single action.\n', 'examples': {'good': '"Click here to verify your email" (one button)', 'bad': '"Verify email, check out our blog, follow us on Twitter, refer a friend..."'}}
- {'name': 'Timing and frequency matter', 'description': 'Wrong time = low open rates. Too frequent = unsubscribes. Let users\nset preferences. Test send times. Respect inbox fatigue.\n', 'examples': {'good': "Weekly digest on Tuesday 10am user's timezone, preference center", 'bad': 'Daily emails at random times, no way to reduce frequency'}}

## Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

* **For Creation:** Always consult **`references/patterns.md`**. This file dictates *how* things should be built. Ignore generic approaches if a specific pattern exists here.
* **For Diagnosis:** Always consult **`references/sharp_edges.md`**. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
* **For Review:** Always consult **`references/validations.md`**. This contains the strict rules and constraints. Use it to validate user inputs objectively.

**Note:** If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

Overview

This skill helps engineers and growth teams build and maintain reliable email systems that maximize deliverability and conversion. It focuses on transactional vs. marketing separation, authentication (SPF/DKIM/DMARC), IP warm-up, list hygiene, and clear campaign design. Apply these patterns to treat deliverability as infrastructure rather than an afterthought.

How this skill works

The skill inspects configuration and practices against established patterns and sharp-edge failure modes: it validates DNS authentication, checks provider and IP usage, and flags risky list and campaign behaviors. For creation it follows the patterns in references/patterns.md; for diagnosis it uses references/sharp_edges.md to explain root causes; for review it enforces rules in references/validations.md. It returns concrete, prioritized actions (e.g., add DKIM, separate IPs, start warm-up) and explains the impact and risk of each change.

When to use it

  • Before sending high-volume transactional or marketing campaigns for the first time
  • When open rates or inbox placement suddenly drop or bounce rates rise
  • When choosing providers, deciding on dedicated vs shared IPs, or designing infra
  • When auditing subscription flows, unsubscribe paths, and list quality
  • When implementing automation sequences that must preserve deliverability

Best practices

  • Separate transactional and marketing traffic onto different providers or IP pools
  • Enforce permission-based lists: double opt-in, clear unsubscribe, routine cleaning
  • Configure SPF, DKIM, and DMARC correctly and monitor reports continuously
  • Warm up new IPs slowly over weeks and monitor bounces, complaints, and engagement
  • Design each email with one clear goal and one CTA; respect user frequency preferences

Example use cases

  • Audit an existing sending domain after a sudden spike in spam-folder placement
  • Plan infrastructure: choose a transactional provider for critical emails and a marketing ESP for campaigns
  • Create a warm-up schedule for a new dedicated IP and track engagement signals
  • Validate a signup flow to ensure consent, proper headers, and unsubscribe links
  • Review an automation sequence to remove overlapping sends and reduce inbox fatigue

FAQ

Do I always need separate IPs for transactional and marketing email?

Separate IPs are recommended when volume or reputation risk is material; at minimum separate providers or sending domains to protect transactional deliverability.

How long does IP warm-up take?

Typical warm-up is several weeks; ramp volume gradually and prioritize highly engaged recipients to build positive signals.