INTEGRITY Cloudflare Docs

Email logs

Email Service provides comprehensive logging for both email sending and routing activities. Access detailed logs through the Cloudflare dashboard to monitor email flow, troubleshoot delivery issues, and analyze authentication status.

Activity log

The Activity log allows you to sort through all email activities and check actions taken by Email Service. In the dashboard you can filter the Activity log to a time range between 30 minutes and 30 days, or specify a custom range.

The Activity log surfaces the same per-event data that is also available programmatically through the emailSendingAdaptive and emailRoutingAdaptive datasets in the GraphQL Analytics API.

For Email Routing, you can expand an individual email in the Activity log to inspect authentication results (SPF, DKIM, and DMARC).

Email sending logs

For outbound emails sent through Email Service:

Email routing logs

For inbound emails processed through Email Routing:

Viewing email details

Select any email in the Activity log to expand its details and view authentication and delivery information.

Authentication status

Check the status of email authentication protocols:

Delivery information

For sent emails, see delivery details:

Message preview

For sent emails, expand the email in the Activity log to open the Preview section and inspect the message as it was sent. The preview provides the following tabs:

To make sent messages previewable, turn on Email preview for the sending domain. Previews cover messages sent while the setting is turned on and are retained for about seven days. New sending domains have Email preview turned on automatically.

Best practices for log monitoring

Regular review

Key metrics to watch

Troubleshooting workflow

  1. Identify the issue: Use logs to pinpoint failure types
  2. Check authentication: Verify SPF, DKIM, DMARC configuration
  3. Adjust configuration: Make necessary DNS or routing changes
  4. Monitor improvement: Track metrics after changes

Email logs provide the visibility needed to maintain high deliverability and properly route incoming emails. Use this data to optimize your email configuration and quickly resolve any delivery issues.