Email Logs

Email Logs

#Overview

Email logs allows developers to get visibility into the lifecycle of an email login. It provides granular information like when a login was initiated and when it was completed for both magic links and email OTPs. This is useful for debugging customer support tickets and understanding basic insights.

To access it, navigate to the Email Logs tab in your Magic Dashboard.

note

This is a beta feature and only includes email based login events - additional methods like social logins are coming soon. For feedback, please reach out here.

Events in the table can take up to a minute to populate from the time the event has taken place. Events can be filtered by email address from the search bar at the top of the table.

Click on any event to reveal more information about the event, including the associated IP address and User Agent.

#Events

Below is a list of all possible events and their definitions

Email Login Initiated

A user has requested an OTP or magic link

Login Email Sent

Email provider has sent the login email

Login Email Delivered

The login email has been received by the mail server

Login Email Opened

The user has opened the login email

Login Success

The user has successfully logged in

Login Email Bounced

Email was not delivered. See here for more information:

https://docs.sendgrid.com/glossary/bounces

https://postmarkapp.com/support/article/815-what-are-bounces-and-spam-complaints

Error

There was an error during the login. See the dashboard for more details.

New Device Detected

The user is logging in from a new device.

Device Registration Email Sent

Email provider has sent the device registration email.

Device Registration Email Delivered

The device registration email has been received by the mail server.

Device Registration Email Opened

The user has opened the device registration email.

Device Registration Approved

User has approved the device from the email.

Device Registration Rejected

User has rejected the device from the email.

Device Registration Email Bounced

Email was not delivered. See here for more information:

https://docs.sendgrid.com/glossary/bounces

https://postmarkapp.com/support/article/815-what-are-bounces-and-spam-complaints

Email Logs