Set up Mail-Notifications
Various steps and settings are required to set up mail notifications. In this article you will learn how to activate the mail notifications.
Appliction Settings
Log in to dab Nexus and click on Settings at the top and then on Application Settings in the left-hand area.
Then activate the first option E-Mail Configuration (SMTP). Depending on the choice of your Authentication from the below option, you can setup the E-mail Configuration (you should usually get information for the corresponding fields from your IT-Team).
-
Credentials
- Sender Email
- Connection Security
- SMTP Server
- SMTP Port
- Username
- Password
-
Server Authentication
- Sender Email
- Connection Security
- SMTP Server
- SMTP Port
-
Service Principal - When sending emails via SMTP, the service principal authenticates the application using ClientID and Client Secret, obtains access token from Microsoft Entra Id using it to authenticate with the SMTP server and sends email on behalf of a mailbox. Add Mail.Send API permissions: Go to Manage -> API permissions in your Azure Enterprise Application. Select the
API permissionstab and click onAdd a permission. SelectMicrosoft Graphfrom the permission list.
Choose
Application permissions, search for Mail in the search area, then checkMail.Sendpermission from the list and add permission using theAdd Permissionsbutton. Provide admin consent forMail.Sendpermission for Microsoft Graph API. Make sure the permission is listed in the permissions grid.
Mailbox Permissions - The service principal must be granted access to the mailbox it sends from. RBAC for Applications in Exchange Online allows admins to grant permissions to an application that's independently accessing data in Exchange Online. This grant can be paired with a scope of access (resource scope) to specify which mailboxes an app can access.
- Sender Email
- Tenant Id - In the Azure Portal, under **Microsoft Entra Id -> Overview
- Client Id - In Azure Portal, under Microsoft Entra Id -> Manage -> App registrations ->
Your App. Navigate to your app and copy the Application (client) ID. - Client Secret (Optional) - In Azure Active Directory -> App registrations ->
Your App. Navigate to your app. Go to Manage -> Certificates & secrets. Under Client secrets, Value contains the Client Secret.
-
System-Assigned Managed Identity System-assigned identities are directly linked to a single Azure resource. When the Azure resource is deleted, so is the identity.
- Sender Email
-
User-Assigned Managed Identity User-assigned managed identity can be associated with multiple Azure resources, and its lifecycle is independent of those resources.
- Sender Email
Then test the settings with Test Connection. You will receive a success message if the connection could be established or an error message if the settings are incorrect.
Save the adjustments via Save Settings.

Profile
As soon as the application settings are available and the connection test is successful, you can set the notifications for yourself in your profile.
To do this, click on your user's icon in the top right-hand corner and click on Profiles in the submenu:
In the following screen on the right side, select which runs you want to receive email notifications for: successful, failed or cancelled runs. These preferences apply to every task you follow. Set your preferences and click on Save Notification Settings.

Tasks
To receive notifications for a task, open it from a workspace and click Follow. If you create or clone a task, dab Nexus follows it for you automatically. Click Unfollow to stop receiving notifications for that task.
dab Nexus sends notifications for the run outcomes selected in your profile. Tasks do not have separate notification settings.