> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://docs.agentmail.to/llms.txt. For full content including API reference and SDK examples, see https://docs.agentmail.to/llms-full.txt. ## Summary We're excited to introduce **Metrics Endpoints** - two new powerful endpoints that give you deep insights into your email deliverability and agent performance. Track critical events like bounces, deliveries, rejections, and complaints with detailed timestamps to build smarter, self-optimizing email agents. ### What's new? **New endpoints:** * `GET /metrics` - Get comprehensive metrics across all your inboxes * `GET /inboxes/{inbox_id}/metrics` - Get metrics for a specific inbox **Metrics tracked:** * Delivery events: sent, delivered, bounced, rejected * Error tracking: complaints, spam reports * Time-series data with detailed timestamps ### Use cases Build agents that: * Monitor their own bounce rates in real-time * Optimize send timing based on historical performance * Automatically adjust behavior based on deliverability metrics * Pause campaigns when performance drops below thresholds * Implement intelligent retry strategies for better inbox placement Ready to build smarter agents? Check out our [Metrics API documentation](https://docs.agentmail.to/api-reference/metrics) to get started. > AgentMail is an email API built for AI agents. Create inboxes, send and receive messages, manage threads, and handle webhooks programmatically.