AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Email

skill-arbazkhan971-godmode-email · by arbazkhan971

Email and notifications. SendGrid, SES, Postmark, Resend, MJML, React Email, delivery tracking, DNS auth.

No reviews yet
0 installs
40 views
0.0% view→install

Install

$ agentstack add skill-arbazkhan971-godmode-email

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-arbazkhan971-godmode-email)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Email? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Email — Email & Notification Systems

Activate When

  • User invokes /godmode:email
  • User says "send emails", "email templates"
  • User says "notification system", "push notifications"
  • User says "bounce handling", "deliverability"
  • Application needs email or notification infrastructure

Workflow

Step 1: Requirements Discovery

# Detect existing email infrastructure
grep -r "resend\|sendgrid\|aws-sdk.*ses\|postmark" \
  package.json pyproject.toml go.mod 2>/dev/null

# Find existing templates
find . -path ./node_modules -prune -o \
  -name "*.mjml" -o -name "*.email.tsx" \
  -o -path "*/emails/*" 2>/dev/null | head -20

# Check for queue system
grep -r "bullmq\|bull\|sqs\|celery" \
  package.json pyproject.toml 2>/dev/null
NOTIFICATION REQUIREMENTS:
  Channels: Email | Push | SMS | In-app
  Email types: Auth (critical) | Transactional (high)
    | Product (medium) | Marketing (low)
  Volume: Trans /day, Marketing /month
  Compliance: CAN-SPAM, GDPR, CASL

IF no queue system: add one (never send sync)
IF no provider: recommend based on needs
IF no DNS auth: set up SPF/DKIM/DMARC

Step 2: Email Service Selection

| Feature     | SendGrid | SES    | Postmark | Resend |
|-------------|----------|--------|----------|--------|
| Best for    | Full feat| Volume | Transact | Dev DX |
| Free tier   | 100/day  | 62K/mo | 100/mo   | 3K/mo  |
| Delivery    | Good     | Good   | Excellent| Good   |
| Templates   | Yes      | SES v2 | Yes      | React  |

IF startup/dev-focused: Resend (best DX)
IF high-volume transactional: Postmark
IF full marketing + transactional: SendGrid
IF AWS-native / cost-sensitive: SES

Step 3: Email Template Design

EMAIL DESIGN CHECKLIST:
  Layout: single column, max 600px, large tap targets
  Content: plain text version, alt text on images
  Legal: visible unsubscribe, physical address
  Technical: inline CSS, table layout (Outlook)
  Deliverability: authenticated from-address,
    List-Unsubscribe header, text:image > 60%

THRESHOLDS:
  Max email size: 100KB (incl. HTML + inline CSS)
  Image hosting: CDN only, no base64 in email
  Preheader text: 40-130 characters

Step 4: Notification Architecture

FLOW:
  Event → Notification Service → User Prefs Check
    → Channel Router → Queue → Provider

CHANNEL MATRIX:
  Email verification: Email=YES
  Password reset: Email=YES
  Order confirmed: Email+Push+In-App=YES
  Payment failed: Email+Push+SMS+In-App=YES
  Comment on post: Push+In-App=YES, Email=OPT
  Marketing: Email=OPT only

THRESHOLDS:
  Rate limit: max 5 non-critical per user per hour
  Digest threshold: > 10 pending → batch to digest
  Queue retry: 3 attempts with exponential backoff
  Submission timeout: 30s per send attempt

Step 5: Delivery Tracking & Bounces

LIFECYCLE: QUEUED→SENT→DELIVERED→OPENED→CLICKED
  └→ BOUNCED | DEFERRED | DROPPED | SPAM

KEY METRICS:
  Delivery rate: > 97%
  Open rate (transactional): > 50%
  Bounce rate:  ~all"
  DKIM: TXT ._domainkey with public key
  DMARC: TXT _dmarc "v=DMARC1; p=none"
    Progress: none → quarantine → reject (30 days)

STREAM SEPARATION:
  notifications.myapp.com — Transactional (dedicated IP)
  marketing.myapp.com — Marketing (separate IP)

IP WARM-UP SCHEDULE:
  50/day → 100 → 500 → 2K → 10K → 50K → full
  Duration: 30 days minimum
  IF bounce > 5% at any stage: pause and audit
  IF spam complaints > 0.1%: pause immediately

Step 7: Commit

Commit: "email: — "

Key Behaviors

Never ask to continue. Loop autonomously until done.

  1. Separate transactional and marketing streams.
  2. Authenticate domain fully. SPF+DKIM+DMARC.
  3. Always send plain text version.
  4. Honor unsubscribe immediately. Synchronously.
  5. Suppression list before every send.
  6. Queue all email sends. Never synchronous.
  7. Monitor deliverability daily.

HARD RULES

  1. Never send email synchronously in request handlers.
  2. Never mix transactional/marketing on same domain.
  3. Never email a hard-bounced address again.
  4. Never skip SPF, DKIM, and DMARC.
  5. Never send without checking user preferences.

Auto-Detection

1. Provider SDK: resend, @sendgrid/mail, ses, postmark
2. Templates: emails/, src/emails/, *.mjml
3. Queue: bullmq, sqs, celery
4. DNS: check TXT records for SPF/DKIM/DMARC

Output Format

Email: Provider={name}, Templates={N},
  Channels={N}. DNS: {status}.
  Queue: {system}. Verdict: {verdict}.

TSV Logging

step	component	provider	status	details

Keep/Discard Discipline

KEEP if: email lands in inbox AND template renders
  AND SPF/DKIM/DMARC pass
DISCARD if: lands in spam OR template breaks
  OR authentication fails

Stop Conditions

STOP when: All notification types implemented
  AND SPF+DKIM+DMARC passing
  AND suppression list enforced
  AND bounce webhook active
  OR user requests stop

Error Recovery

  • API key missing: print env var name, link to docs.
  • Template render error: validate with preview API.
  • Webhook signature fails: check signing secret.
  • Lands in spam: check DNS auth, sender reputation.
  • Bounce rate > 5%: pause, audit suppression list.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.