Delivery Analytics
The Analytics page provides visual insights into your email sending performance with charts, trends, and breakdowns. Use it to monitor delivery health, track engagement, and identify issues early.
Accessing Analytics
Navigate to Analytics in the left sidebar. Select a date range: 7 days, 30 days, or 90 days.
Metrics Overview
The top of the page shows aggregate totals for the selected period:
| Metric | What It Measures |
|---|---|
| Total Sent | Number of emails submitted to SES |
| Delivery Rate | Percentage of sent emails that were delivered (target: above 95%) |
| Bounce Rate | Percentage of sent emails that bounced (target: below 5%) |
| Open Rate | Percentage of delivered emails opened at least once |
Metrics that exceed warning thresholds display a warning indicator:
- Bounce rate above 5% shows a yellow warning
- Bounce rate above 10% shows a red warning
Charts
Email Volume
Bar chart showing daily email counts split by Sent and Delivered. A growing gap between sent and delivered indicates deliverability problems.
Delivery Rate Trend
Line chart showing daily delivery rate percentage. Look for:
- Consistent rate above 95% — healthy
- Sudden drops — investigate for bounced domains or blacklisting
- Gradual decline — list quality may be degrading
Open Rate Trend
Line chart showing daily open rate percentage. Open rates vary widely by email type:
- Transactional (ticket updates): 40-60% typical
- Automated notifications: 20-40% typical
- Batch sends: 10-30% typical
Bounce Rate Trend
Line chart showing daily bounce rate percentage. A red threshold line appears at your configured bounce rate threshold (default: 5%).
By Product Breakdown
A pie chart and legend showing email volume segmented by the product tag. This shows which products (PSA, CRM, Portal, etc.) are sending the most email through Relay.
Use this to:
- Understand which integrations drive the most volume
- Identify unexpected spikes from a specific product
- Plan capacity and rate limit allocation
Top Recipients
A list of the 10 most-emailed addresses in the selected period. Useful for:
- Identifying recipients who receive a disproportionate number of emails
- Spotting automated loops (same address receiving hundreds of emails)
- Understanding which clients generate the most email traffic
Dashboard vs Analytics
The Dashboard shows today's stats and recent activity at a glance. Analytics provides historical trends and deeper breakdowns. Use the Dashboard for daily monitoring and Analytics for weekly/monthly reviews.
Dashboard Cards
The Dashboard page shows four stat cards:
- Sent — Emails sent today
- Delivered — Emails delivered today
- Bounced — Emails bounced today
- Open Rate — Today's open rate percentage
Plus a 30-day trend chart and recent activity list.
Daily Stats Aggregation
Stats are aggregated automatically at 2 AM UTC each day by a background timer function. The aggregation:
- Scans all email logs for the previous day
- Groups by tenant
- Calculates: sent, delivered, bounced, complained, rejected, opened, clicked counts
- Computes delivery rate and open rate percentages
- Stores as a daily stats record
Historical analytics queries pull from these pre-aggregated stats for fast loading.
API Reference
Query analytics via the API with a key that has the read-logs scope:
| Method | Endpoint | Description |
|---|---|---|
GET | /api/stats | Daily delivery metrics for a date range |
GET | /api/analytics | Detailed analytics with breakdowns and top recipients |
GET | /api/dashboard | Today's stats, 30-day trend, and recent emails |