Enabling Gmail for notifications
Server Configuration › Server - Enabling Gmail For Notifications
📋 Prerequisites: Read Server - Notifications first.
This page answers
Why does Gmail reject Command Centre's outgoing email?
What is an App Password and how do you create one?
How do you configure Command Centre's outgoing and incoming email for Gmail?
⚠️ Important: major SMTP providers (Office 365, Gmail, Yahoo, etc.) have stopped supporting basic authentication and "less secure apps" sign-in for third-party apps and devices.
⚠️ Important: from Command Centre version 9.30, the modern authentication method (OAuth 2.0) is supported with Microsoft Entra for Exchange Online email authentication, replacing the deprecated Basic Authentication method.
When a Gmail account is used for outgoing email without an app password, Command Centre raises a Notification System Error. The alarm detail shows the SMTP rejection, for example: 535: 5.7.8 Username and Password not accepted.

What is an App Password?
An App Password is a unique, randomly generated password used to sign in to an app or device that does not support two-step verification or OAuth 2.0 (modern authentication). It is a 16-digit passcode that gives a less secure app or device permission to access your Google Account. App passwords can only be used with accounts that have 2-Step Verification turned on, and you enter the app password once per app or device.
Important: app passwords are not recommended and are unnecessary in most cases. Use them only where modern authentication is not available.
Creating a Google App Password for outgoing email
Sign in to your Google Account.
Click Security.
Under Signing in to Google, click App Passwords. (You may need to sign in. If you do not have this option, it may be because 2-Step Verification is not set up, 2-Step Verification is only set up for security keys, your account is managed by a work/school/other organization, or you turned on Advanced Protection.)
Click Select app and choose the app.
Click Select device and pick the device you are using.
Click Generate.
Follow the instructions to enter the app password. The app password is the 16-character code in the yellow bar on your device.
Tap Done.
Tip: most of the time you only enter an app password once per app or device, so there is no need to memorise it.
Command Centre outgoing email settings
In Configuration Client, set up File > Server Properties > Outgoing Email with the following:
Your Gmail username without the
@gmail.com.Copy and paste the App Password into the Password field (remove the spaces in the password).
The standard SMTP address for Gmail (
smtp.gmail.com).The port for SMTP SSL (try port 587), with Use SSL ticked.
The Sender Address that will indicate where the email came from (e.g.
username@gmail.com).


Sending a test email
Note: the operator account used with the test-notifications option must have an email address configured in that user account's Personal Data fields. The system user account will never work, as it cannot have a PDF attached to it.
Send the test from the Notifications tab (each notification type has its own Send Test Email button). When successful, you receive the test email in your inbox.

Enabling incoming email
Incoming email lets an operator acknowledge an alarm by replying to its notification email.
⚠️ Important: the cardholder receiving the email must have an operator account with the Edit Alarms privilege to acknowledge an alarm. They must reply to the email with "Ack" only. They cannot "Process" an alarm from a reply email.
Configure incoming email (CC Server Properties > Incoming Email) with:
Your full Gmail address.
Your Gmail account password (case sensitive).
The IMAP address for Gmail (
imap.gmail.com).The port for IMAP with Gmail (
993), with Use SSL ticked.The interval between checks for new mail (e.g. every 5 seconds).

When set up correctly, you receive an Incoming Email Connected event in the Event Viewer ("Incoming Email Notification System successfully connected").

🔗 Related
Server - Notifications. The delivery methods and the SMTP path Gmail plugs into.
Last updated
Was this helpful?
