Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Command Centre Alarm Properties dialog showing a Notification System Error with the SMTP 535 username-and-password-not-accepted message

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

  1. Sign in to your Google Account.

  2. Click Security.

  3. 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.)

  4. Click Select app and choose the app.

  5. Click Select device and pick the device you are using.

  6. Click Generate.

  7. Follow the instructions to enter the app password. The app password is the 16-character code in the yellow bar on your device.

  8. 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:

  1. Your Gmail username without the @gmail.com.

  2. Copy and paste the App Password into the Password field (remove the spaces in the password).

  3. The standard SMTP address for Gmail (smtp.gmail.com).

  4. The port for SMTP SSL (try port 587), with Use SSL ticked.

  5. The Sender Address that will indicate where the email came from (e.g. username@gmail.com).

Command Centre Outgoing Email settings tab with the five numbered fields: Account, Password, smtp.gmail.com server, port 587 with Use SSL, and Sender Address
Detail of the Command Centre Server Properties Outgoing Email configuration for Gmail

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.

Command Centre Notifications tab showing Send Test Email buttons for each notification type and the Broadcast Notification batch-size option

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:

  1. Your full Gmail address.

  2. Your Gmail account password (case sensitive).

  3. The IMAP address for Gmail (imap.gmail.com).

  4. The port for IMAP with Gmail (993), with Use SSL ticked.

  5. The interval between checks for new mail (e.g. every 5 seconds).

Command Centre Incoming Email settings tab with the five numbered fields: IMAP protocol, Account, Password, imap.gmail.com server, port 993, and retrieve-new-email interval

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

Command Centre Event Viewer showing an Incoming Email Connected event confirming the incoming email notification system connected successfully

🔗 Related

Last updated

Was this helpful?