Table of Contents

Email Notifications

Niamh Ferns Updated by Niamh Ferns

Email Notifications Overview

DeskDirector comes with an email notification and templating system that allows you to customize the look of you email notifications and when they should be triggered. With this comes a few key benefits:

  • Better default branded email formats
  • Responsive and mobile friendly emails
  • Extensive customisation options
  • Utilisation of well known existing tools: MJML and Liquid. If you have a developer or if you are familiar with both frameworks, you can customize your email template's design better.
  • Ticket authors' notes will display correctly for ConnectWise. (GitHub Bug Report)

Email Types

Email Type

Description

Setup

Customizable

Events

System

For login tokens and reset password events

No special setup required

Yes

  • Mail Auth Token
  • Password Resets

Global Ticket

Used for the ticket approval and forms request events

Approvals in DeskDirector

Yes

  • Approval Request
  • Approval Granted
  • Approval Declined
  • Form Requested

Notification Events

For ticket life cycle event. Includes new ticket, closed ticket and note added.

See below on setting up email notification events

Yes

  • Ticket Created
  • Ticket Closed
  • Ticket Owner Notification
  • Assigned Technician Notification
  • CC Notification
  • Status Changed Notification

Global Email Notification Settings

The global configuration for email notifications can be accessed via the Admin portal under Email > Settings.

  • Server host: This value is used inside email templates that reference the DeskDirector URL token. It can be your DeskDirector URL or one of the custom domains added to your instance.
  • Email delivery account: This is the default global delivery account that will be used. This can be changed anywhere that you can use any email delivery account you have setup.
  • Test receiver's email: Any email address added to this field will be BCC'd on any email our system sends out.
  • Allow auto login for client portal link: For more information regarding auto login. See Login via Magic Token for more.
  • Login token expiry time: Update the token's expiry time
  • File link expiry time: Allows you to configure file expiry tickets for links to files in DeskDirector's file storage.
  • Adaptive card provider: Used for actionable messages.

Mail Delivery History

Delivery History is a great troubleshooting tool for whittling down the cause of undelivered emails from your defined mail host. You will be able to access the email history under Email > Delivery History

Notification Events

To get the most out of notification events, you will need to have set up some custom email templates.

DeskDirector notification events make it easy to assign email templates to specific events in your DeskDirector instance. There are 3 types of Notification Events in DeskDirector, each of which have different events that can be assigned with specific email template. You can see these in the table above.

Setting a Template

Assigning a custom email template to a specific notification event allows you to define what the email looks like when that event occurs via our email templates engine.

  1. Login to your Admin portal and head to Email > Notification Events
  2. Select the event you want to assign a template to
  3. Look for the specific event and click Change
  4. Select the custom email template from the pop-up.
Any changes to the page are automatically saved, so there is no need to click on a save button. After doing the change, your custom template should now be used for that specific event moving forward

Custom Templates

Here is where you can see a list of email templates that your DeskDirector instance can use. You can update an existing template or create a new one. Here's two detailed guides on the email template engine.

Delivery Accounts

DeskDirector supports mail delivery via:

  • SendGrid
  • Office 365
  • SMTP Server

SendGrid Mail Delivery

SendGrid email delivery can be easily created via the Admin portal under Email > Delivery Accounts > New Account:

You will need your SendGrid API Key for the integration to work. Once configured, specify the Send From and No reply email address. Finally, test the account to confirm if it works.

Office365 Mail Delivery

Before you start, you will need:
- An account with an Office 365 license that grants access to Exchange
- A primary mailbox
- Optionally, a shared mailbox

Office365 mail delivery can be configured under the Admin portal by heading to Email > Settings > Office 365 Mail Delivery.

  1. On the Office 365 Mail Delivery page, click Setup Office 365 Consent
  2. Enter your primary Office365 email address and click the Grant Consent button again
  3. You will be directed to a Microsoft 365 authentication page. Sign in with the credentials for your mail delivery account
  4. Review the required permissions and click accept
  5. Once you accepted the permission requested, your browser will be redirected back to DeskDirector Admin console. You should see a success message like this:
  6. From there, you can verify the the email address that was setup to set emails from.
To remove an account, click the Revoke Consent button.
If you want to use a different Office 365 account, you may need to sign out the previous account at portal.office.com, then redo the setup.

Once consent has been granted, you have the option to setup/modify the sender email address and display for General Purpose and System Notification emails sent by your DeskDirector instance.

How to create shared mail

As a general best practice, a shared mailbox is needed as this will be used to used for system notification emails like password resets and login token requests, etc. You can follow the Microsoft's guide to setup the shared mailbox.

To setup shared mailbox in Office 365 account, you need to have admin privilege.

Once the shared mailbox is created, add your account as a primary member on the account and double check that they have correct permissions set under Manage mailbox permissions. The Primary mailbox user will need read, manage, and send permissions.

SMTP Mail Delivery

To get started, login to your DeskDirector Admin portal and head to Email > Settings > SMTP Server Mail Delivery and click Setup SMTP.

You will need four things:

  • SMTP Host
  • SMTP Port
  • Email User
  • Email Password

You can easily secure these credentials from your email provider.

Here's an example of the SMTP fields filled:

You will have the option to setup or modify the sender email address and display name for General Purpose and System Notification emails sent by your DeskDirector instance:

Once you have configured the SMTP settings, you can test the configuration easily from Email > Settings > Email Delivery.

Just click on Test Email Delivery button, select the event you want to test then click on the Send test email button.

SPF Records

These records are used to indicate to mail exchanges which hosts are authorized to send mail for a domain. To get the SMTP mail setup working properly, you will need to configure the SPF record of your domain to include the following: include:spf.deskdirector.com

For example: if you are sending from example@deskdirector-demo.com, you need to add include:spf.deskdirector.com to the SPF record of deskdirector-demo.com.

MX Toolbox
is an online tool you can use to verify if your domain's SPF record is configured correctly.

If you did not receive the test email, please check your spam folder.

Frequently Asked Questions

"Why is the custom email template I created not appearing on the template list on the Notification Event?"

Each email template you create is specific for the event where you created it. For example, an email template you created under "Mail Auth Token" can not be used as an email template for "Approval Required".

How did we do?

Notifications

Email Template Engine

Contact