Email notifications

cn2.ai sends transactional emails to keep you informed about your keys, payouts, and webhook health. All emails are sent via Resend to the email address associated with your account.

Key health

Liveness check failed
When: Hourly liveness re-check returns an error
Includes: Key name, provider, error details, updated priority score
Key degraded
When: Priority score drops below 0.3 after repeated failures
Includes: Key name, provider, current score. The key is removed from the active pool until it recovers.
Key rotation complete
When: 5-minute dual-key overlap window expires and the new key is promoted
Includes: Key name, provider, completion timestamp

Payouts

Payout initiated
When: Daily batch at 09:00 UTC creates a payout for your accrued earnings
Includes: Amount, payout method, billing period
Payout completed
When: Funds have been transferred successfully
Includes: Amount, payout method
Payout failed
When: The payout could not be processed
Includes: Amount, payout method, failure reason. Funds remain in your account.

Webhooks

Webhook endpoint failing
When: Your webhook endpoint has been failing continuously for more than 1 hour
Includes: Endpoint URL, consecutive failure count, duration of failures. cn2.ai continues retrying with exponential backoff (up to 5 attempts per delivery).

Account

Welcome
When: You create a cn2.ai account
Includes: Link to the dashboard and documentation

Delivery

Emails are sent from notifications@cn2.ai via Resend. If you're not receiving emails, check your spam folder and ensure the address is whitelisted.

Email notifications supplement — but do not replace — webhook events. For programmatic alerting, use webhooks which cover all the same events plus earning.batch_credited.