Blueprint

System Data Flow

Entry Point
Process Node
Data Store
Output
Betav1.0.0

Email Simulator

Marketing

Models incremental revenue from email sequences so performance isn't a guessing game.

Logic Breakdown

Applies open/click/conversion to cohorts over time with decay curves and unsubscribe attrition. Event primitives aligned to CRM schema (contact, segment, event, conversion) for clean ingestion.

Architecture Decisions

  • 01Models incremental revenue from email sequences so performance isn't a guessing game.
  • 02Applies open/click/conversion to cohorts over time with decay curves and unsubscribe attrition.
  • 03Event primitives aligned to CRM schema (contact, segment, event, conversion) for clean ingestion.

Code Snippet

typescript
email-simulator.ts
type Cohort = { size: number; open: number; click: number; convert: number };

export function simulateSequence(cohort: Cohort, emails: number) {
  let size = cohort.size;
  let revenue = 0;

  for (let i = 0; i < emails; i++) {
    const opens = size * cohort.open;
    const clicks = opens * cohort.click;
    const orders = clicks * cohort.convert;
    revenue += orders;
    size *= 0.985;
  }

  return { finalListSize: Math.round(size), orders: revenue };
}

Key Dependencies

SegmentationCore stack component
DeliverabilityCore stack component
LifecycleCore stack component

Technical Spec

Pillar
Marketing
Model
Lifecycle
Output
Revenue

Tags

SegmentationDeliverabilityLifecycle

Live Sandbox

Interactive runtime environment — Email Simulator v1.0.0

Beta
email-simulator-sandbox

$ npm run sandbox

> Initialising Email Simulator v1.0.0

> Status: Beta

// Live iframe mounted once sandboxUrl is configured.