brainX

Email Settings

Package: BASIC

1. General

Info

The Email Settings section contains the central mail server configuration for the client. Multiple mail servers can be configured for different purposes (system notifications, report sending). In addition, Exchange Online integration for synchronizing emails, contacts, appointments, and tasks is configured here.

2. Mail Server Configuration

In the Mail Servers block, one or more SMTP mail servers can be configured. These are used for sending system notifications, automated emails, and reports from brainX.

2.1. Adding a Mail Server

To add a new mail server, click Add Mail Server and fill in the following fields:

FieldDescription
NameInternal name of the mail server (for identification)
SMTP HostHostname or IP address of the SMTP server
SMTP PortPort (standard: 587 for STARTTLS, 465 for SSL/TLS)
EncryptionEncryption method (STARTTLS or SSL/TLS)
UsernameSMTP authentication username
PasswordSMTP authentication password
Sender NameDisplay name for outgoing emails
Sender EmailSender email address

2.2. Purpose Assignment

Each mail server can be assigned a purpose:

PurposeDescription
System NotificationsAutomated system emails (user invitations, password reset, etc.)
Report SendingSending of generated reports
StandardDefault mail server for all other sending purposes

2.3. Testing the Connection

After entering the server data, the connection can be tested with the Test Connection button. A test email is sent to the configured sender address.

3. Exchange Online Integration

Info

The Exchange Online integration connects brainX with Microsoft Exchange Online (Microsoft 365). The integration consists of four independent components that can each be activated separately:

  1. Emails (unidirectional: Exchange → brainX)
  2. Contacts (bidirectional)
  3. Appointments (bidirectional)
  4. Tasks (bidirectional)

3.1. Prerequisites

  • Microsoft 365 / Exchange Online account
  • Sufficient permissions in the Azure Active Directory (app registration)
  • Azure App Registration with configured API permissions

3.2. Authentication

The Exchange Online integration uses OAuth 2.0 authentication:

FieldDescription
Tenant IDAzure AD Tenant ID
Client IDAzure App Registration Client ID
Client SecretAzure App Registration Client Secret

3.3. Component: Emails (Unidirectional)

Emails from Exchange Online are synchronized into brainX in one direction (Exchange → brainX). Only emails in designated CRM sync folders are synchronized.

3.3.1. CRM Sync Folders

Users configure which Exchange folders are synchronized with brainX:

  • In Outlook, a CRM sync folder is created (e.g., CRM-Sync)
  • Emails moved to this folder are imported into brainX
  • The emails are linked to the corresponding contact or organization records

3.3.2. Blacklist

Email addresses that should not be imported into brainX can be added to the blacklist:

  • Internal email addresses
  • Mailing list addresses
  • No-reply addresses

3.4. Component: Contacts (Bidirectional)

Contacts are synchronized bidirectionally between Exchange Online and brainX:

  • New contacts in brainX are created in Exchange Online
  • New contacts in Exchange Online are imported into brainX
  • Changes are synchronized in both directions

3.4.1. Field Mappings

brainX FieldExchange Field
First NameGivenName
Last NameSurname
EmailEmailAddresses
PhoneBusinessPhones
MobileMobilePhone
Job TitleJobTitle
OrganizationCompanyName
StreetBusinessAddress.Street
ZIP CodeBusinessAddress.PostalCode
CityBusinessAddress.City
CountryBusinessAddress.CountryOrRegion

3.5. Component: Appointments (Bidirectional)

Appointments are synchronized bidirectionally between Exchange Online (calendar) and the brainX Appointments module.

3.5.1. Conflict Resolution

SettingDescription
brainX winsIn case of conflict, the brainX version is retained
Exchange winsIn case of conflict, the Exchange version is retained
Last Modified winsThe most recently changed version is retained

3.6. Component: Tasks (Bidirectional)

Tasks are synchronized bidirectionally between Exchange Online (Tasks) and the brainX Tasks module.

3.7. Troubleshooting

Common issues with Exchange Online synchronization:

IssuePossible CauseSolution
No emails are importedCRM sync folder not configuredCreate CRM sync folder and configure in user settings
Contacts not synchronizedMissing API permissionsCheck Azure App Registration API permissions
Duplicate recordsBoth-side creation enabledSet conflict resolution rule
Authentication errorExpired client secretRenew client secret in Azure portal

4. Examples

Example 1: Centralizing Customer Correspondence

  1. Sales representative moves customer email to the CRM sync folder in Outlook
  2. The email is automatically imported into brainX
  3. The email is linked to the corresponding contact record
  4. Other team members can see the complete correspondence history

Example 2: Bidirectional Calendar Synchronization

  1. Sales representative creates an appointment with a customer in brainX
  2. The appointment automatically appears in the Outlook calendar
  3. If the appointment is rescheduled in Outlook, the change is synchronized back to brainX

5. FAQ

Q: Can multiple Exchange Online accounts be connected?

A: No, only one Exchange Online connection per client can be configured. However, all users of the client can benefit from the integration with their individual Exchange accounts.

Q: Are archived emails also synchronized?

A: Only emails that are moved to a designated CRM sync folder are synchronized. Archived emails in other folders are not automatically synchronized.

Q: What happens when the Exchange connection is disrupted?

A: If the connection is disrupted, synchronization is paused. A queue of pending changes is processed as soon as the connection is restored.

Q: Does the integration work with on-premise Exchange?

A: No, the integration is designed for Exchange Online (Microsoft 365). On-premise Exchange Server is not supported.