The Alert Email functionality allows you to send email to recipients when the alert condition is satisfied for a specified data set.
Setting up an email server using the WebApp
To configure the SMTP server, click the gear icon in the left navigation pane and then click Alerts.
Creating a condition to send an alert
You can create specific conditions so that an email is sent to recipients when those conditions are met for specified data sets.
To use the batch name to create a consolidated list of alerts and distribution lists for a set of notifications per data set, see Email Batch Alerts.
DQ Alerts for data sets
You can set DQ alerts for data sets so that you are notified based on certain conditions that are triggered on the data sets. Below is what a data set email looks like in your inbox. Make sure your email client didn't mark the email as spam and that the SMTP server was set up properly.
DQ Alerts for failed jobs
Another scenario is when the DQ Job fails to run or has an exception and, therefore, never gets the chance to score the data or run the alert condition. This is a failed alert that's automatically sent to the email address based on the Admin/SMTP settings defined in the To Email (Default) fields in the Admin console.
Alert Notifications in Web UI
There are also alert notifications in the web UI. This can be helpful to confirm that the email alerts were sent out and who should have received the notifications.
Setting up the Email Server programmatically
If you are in a notebook or pipeline, you may prefer to use the Scala/Spark API to create the Email Server.
val emailServer = OwlUtils.createEmailServer("smtp-relay.sendinblue.com",587)