Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:Ucbepic Docetl EpsteinEmailExplorer

From Leeroopedia


Knowledge Sources
Domains Frontend, React_UI
Last Updated 2026-02-08 00:00 GMT

Overview

Concrete tool for the Epstein email dataset explorer showcase component in the DocETL website.

Description

The EpsteinEmailExplorer is an interactive data exploration component that visualizes a dataset of emails processed through a DocETL pipeline. It features tabbed views for browsing emails, viewing participant networks, and exploring topics. The component includes advanced filtering (date range, topic, organization, notable figures), full-text search, participant analysis with email frequency counts, a timeline view, CSV/JSON export, and detailed email inspection dialogs. It uses React Query for data fetching and manages complex filter state.

Usage

Rendered on the DocETL showcase page to demonstrate the capabilities of DocETL pipelines applied to document analysis tasks.

Code Reference

Source Location

Signature

interface Email {
  document_id: string;
  email_text: string;
  source_file: string;
  is_email: boolean;
  participants: Participant[];
  date: string;
  time: string;
  subject: string;
  has_attachments: boolean;
  attachment_names: string[];
  people_mentioned: string[];
  organizations: string[];
  locations: string[];
  notable_figures: string[];
  primary_topic: string;
  topics: string[];
  inferred_people: InferredPerson[];
  summary: string;
  key_quotes: string[];
  tone: string;
  potential_crimes: string;
}

export default function EpsteinEmailExplorer(): JSX.Element

Import

import EpsteinEmailExplorer from "@/components/showcase/epstein-email-explorer";

I/O Contract

Inputs (Props)

Name Type Required Description
No props -- fetches data from /api/epstein-emails

Outputs

Name Type Description
rendered JSX.Element Interactive email explorer with filtering, search, and export

Usage Examples

<EpsteinEmailExplorer />

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment