The posthog.emails API: sends transactional email from PostHog email templates. Needs secretKey, a project secret API key with the transactional_email:write scope.
metrics
Metrics
The posthog.metrics API: a statsd-style pre-aggregating metrics client (count, gauge, histogram) — alpha. Samples are folded into per-series aggregates in memory and flushed periodically. Configure via the metrics client option.