Email Flow in Auth0

Overview

This article will describe how the email flow works within Auth0 and how to start troubleshooting if an error is received. 

Applies To
  • Email Flow
Solution

Auth0 sends the email to the provider, and the custom email provider is responsible for delivering it to the end user.
Email Flow in Auth0 

Check out the video or the steps below.


Check the logs to determine what event code is being received. 

  1. Go to Dashboard > Monitoring > Logs.
  2. Click on the type name (that is, Failed Sending Notification).

NOTE: fn > Failed Sending Notification > Failed to send email notification

Log Type Name

  1. The details object property in “fn” logs usually contains the response received from the provider; it could help clarify why the delivery to the provider failed.
    {
      “date”: XXXXXXX
    
       ...
    
      "type": "fn",
    
      ...
    
      "details": {
    
       ...
    
        "error": "Authenticated user is not authorized to send mail"
    
      }
    
    }
    • If a Success Change Password Request (scpr) is seen in the logs but not a Failed Sending Notification (fn) after it, the custom email provider received the email. 
    • If an email is not delivered to the end user, but the "scpr" is seen in the logs and not a Failed Sending Notification (fn), use the timestamp from the “scpr” log and reach out to the provider to further troubleshoot. 


Here are a few example messages that may be received from providers and how to resolve those issues.

Error Message

Gmail SMTP App Password

The from address does not match a verified Sender Identity

The provided authorization grant is invalid, expired, or revoked

Authenticated User Is Not Authorized to Send Mail

Missing MX and A Records

Email address is not verified. The following identities failed the check in region [AMAZON REGION HERE]: [TARGET EMAIL HERE]

Recommended content

No recommended content found...