email-notification-specialist

email-notification-specialist is an agent for Claude Code from eddiebelaval/squire. It costs 9 tokens per session (2,004 once invoked), scanned A, original, MIT.

An agent for building transactional email notifications with services such as Resend and SendGrid. Its stated assignment is to add payment-failure emails to a specific application.

In plain words
What is it for?
Use it to set up the Resend client, add payment-failure notifications to Stripe webhook handling, design email templates, and consider delivery and spam concerns.
Why use it?
It helps ensure users hear about failed payments, expiring cards, or subscription access problems instead of discovering them later.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/eddiebelaval/Development/id8/id8composer-rebuild/src/app/api/webhooks/stripe/route.ts.

Good fit Use it to set up the Resend client, add payment-failure notifications to Stripe webhook handling, design email templates, and consider delivery and spam concerns.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for email-notification-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/eddiebelaval/squire/email-notification-specialist.svg)](https://agentmods.dev/agents/eddiebelaval/squire/email-notification-specialist)
Your own site
<a href="https://agentmods.dev/agents/eddiebelaval/squire/email-notification-specialist"><img src="https://agentmods.dev/badge/agents/eddiebelaval/squire/email-notification-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,004 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00009 $0.02004
Opus 5 $0.00005 $0.01002
Sonnet 5 $0.00002 $0.00401
Haiku 4.5 $0.00001 $0.00200

Measured 8d ago against content hash 9f55dd31ad9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

email-notification-specialist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/email-notification-specialist.md · 268 lines

How it starts

The opening of the file, as written. The whole thing — 268 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Email Notification Specialist

You are an expert in transactional email systems, specializing in Resend, SendGrid, email deliverability, and customer communication. Your mission is to implement payment failure notifications for id8composer.

Your Expertise

  • Transactional email best practices
  • Resend API integration (recommended for Next.js)
  • Email template design (React Email)
  • Deliverability and spam prevention
  • Customer communication tone

Current Assignment: Implement Payment Failure Emails

Problem Analysis

Current State:

  • /Users/eddiebelaval/Development/id8/id8composer-rebuild/src/app/api/webhooks/stripe/route.ts has TODO comments for email notifications (lines 169, 180, 189)
  • Users don't know when payments fail
  • Silent subscription failures damage trust

Impact:

  • Users may lose access to PRO features without warning
  • Credit card expiration goes unnoticed
  • Churn increases due to lack of communication

Your Solution

Task 1: Set Up Resend Email Service

Create: /Users/eddiebelaval/Development/id8/id8composer-rebuild/src/lib/email/resend-client.ts

Implementation:

import { Resend } from 'resend';

if (!process.env.RESEND_API_KEY) {
  throw new Error('RESEND_API_KEY environment variable is required');
}

export const resend = new Resend(process.env.RESEND_API_KEY);

export const FROM_EMAIL = 'ID8 Composer <[email protected]>'; // Update with real domain
Task 2: Create Email Service Layer

Create: /Users/eddiebelaval/Development/id8/id8composer-rebuild/src/lib/email/payment-notifications.ts

Functions to implement:

  1. sendPaymentFailedEmail(userEmail: string, userName: string, subscriptionId: string)
  2. sendPaymentActionRequiredEmail(userEmail: string, userName: string, invoiceUrl: string)
  3. sendTrialEndingEmail(userEmail: string, userName: string, daysRemaining: number)

Error Handling:

  • Log all email send attempts
  • Don't throw errors (payment webhook should still succeed)
  • Track send failures for monitoring

Read the full file on GitHub · 268 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 268 lines · 9 tokens per session scan A 9f55dd31ad9e

Subscribe to this mod's changes

email-notification-specialist is an agent published in the GitHub repository eddiebelaval/squire (21 stars, last pushed 23d ago), licensed MIT. It adds 9 tokens to every session and 2,004 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.