Email Suppression Contract Repair

    by Mariusz Wrzeszczynski

    1

    Repair suppression drift across consent, unsubscribe, bounce, complaint, recipient identity, provider events, queues, caches, tests, and docs.

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    See it in action

    You say

    Analyze our SendGrid webhook handler and BullMQ worker. We have reports of users getting emails after unsubscribing, and our CRM sync seems to be reactivating blocked users.

    Your agent does

    Decision: CROSS-LAYER DRIFT FOUND. I found a queue race where workers skip eligibility checks for enqueued jobs. CRM imports also lack a monotonic merge boundary. I have a safe patch plan to add a final pre-send gate and typed suppression facts.

    What you get

    Prevent cross-tenant preference leakage in multi-tenant SaaS applications.Block queued messages immediately after a recipient unsubscribes.Add idempotency to provider callbacks for bounces and spam complaints.Ensure CRM and CSV imports do not overwrite durable suppression state.

    About this skill

    The problem

    Email eligibility and suppression logic often drifts across multi-tenant systems, leading to accidental sends to unsubscribed users or global suppression affecting the wrong workspace. You are likely facing queue races where unsubscribed users still receive enqueued messages, or CRM imports that silently reactivate hard-bounced addresses.

    What it does

    • Identifies cross-tenant preference collisions and global email identity leaks in multi-tenant architectures.
    • Audits the repository for missing final send gates where queued messages bypass recent preference changes.
    • Detects idempotency gaps in provider callbacks (SendGrid, SES, Mailgun) that cause repeated audit events or stale suppression effects.
    • Analyzes CRM and CSV import logic for unsafe defaults that treat blank fields as new subscriptions.
    • Maps drift between application state and provider-state abstractions represented in the repository.

    Why this beats prompting it yourself

    This skill systematically traces the entire email lifecycle from recipient creation to final provider callback across your models, workers, and adapters. It prevents the common pitfall of collapsing complex suppression states into a single Boolean 'active' flag, ensuring your patches respect tenant isolation and address versioning.

    Use cases

    • Enforce tenant-scoped suppression in systems where email addresses are globally unique.
    • Fix race conditions where one-click unsubscribe fails to block already-queued campaign messages.
    • Add idempotent handling for provider webhooks to prevent duplicate complaint processing.
    • Standardize category-aware eligibility checks to ensure security alerts aren't blocked by marketing unsubscribes.

    Known limitations

    This skill operates only on repository code and fixtures. It cannot access live provider suppression lists, send real test messages, or make legal determinations regarding consent policy.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Creator

    Mariusz Wrzeszczynski
    Mariusz Wrzeszczynski

    109 skills on Agensi

    Frequently Asked Questions

    Popular in API Development