Wrap your React components and functions. When errors occur, we'll send you an email. That's it.
import { configureErrorReporting } from 'errormail'; configureErrorReporting({ apiKey: 'your-api-key', emailTo: 'admin@example.com' })
import { ErrorBoundary } from 'errormail'; <ErrorBoundary emailTo="you@example.com"> <MyComponent /> </ErrorBoundary>
Every error is automatically formatted into a beautiful, detailed email report
bun install errormail12/16/2025, 1:18:39 PM
This error was automatically reported by ErrorMail
Wrap any async or sync function. Errors are caught and emailed automatically.
Get detailed error reports in your inbox with stack traces and context.
Track user actions leading up to errors for better debugging context.
Categorize errors as debug, info, warning, error, or fatal.
Automatic browser, device, and runtime information capture.
Prevent duplicate error flooding with automatic deduplication.