Overview
Email in Knowlix is built around the activity feed, a communication thread attached to every record (opportunities, sales orders, invoices, projects, and more). From the activity feed, users send emails, log internal notes, post notifications, schedule follow-up tasks, and share attachments. All incoming replies are captured automatically and displayed alongside outgoing messages, giving every team member a complete communication history on each record.How Email Works in Knowlix
When you send an email from a record’s activity feed, Knowlix routes it through the configured outgoing mail server. Recipients receive the email and any replies they send are routed back into Knowlix using alias addresses, catch-all mailboxes, or forwarding rules. The full thread stays attached to the original record. Notifications vs. direct emails: Sending a direct email delivers the message to the recipient’s inbox. Sending a notification delivers it via Knowlix’s internal notification system, which may also trigger an email depending on the follower’s preferences.Outgoing Mail Configuration
Hosted Knowlix
For hosted Knowlix environments, outgoing email works immediately with a default notification address in the formatnotifications@your-workspace.domain.com. No configuration is needed unless you want to send from your own domain.
Custom Domain Setup
To send from your own domain, additional DNS configuration and server setup is required. This involves technical knowledge of DNS records and mail protocols. Options for outgoing mail with a custom domain:- Use Knowlix mail servers with your domain - requires SPF and DKIM DNS records on your domain
- Use your own SMTP server - configure a third-party mail server (Microsoft Outlook 365, Gmail, Mailjet, etc.)
Note: Different mail providers have different sending limits. Verify provider limitations before configuring, especially for marketing campaigns. Bulk email platforms like Gmail and Outlook have lower transactional volume thresholds.
DNS Authentication Records
To ensure your emails are delivered reliably and not flagged as spam, configure three DNS authentication records on your domain.SPF (Sender Policy Framework)
SPF declares which mail servers are authorized to send on behalf of your domain. Recipients’ mail servers verify incoming emails against this list. Adding an SPF record: Create a TXT record in your domain’s DNS settings. If your domain has no existing SPF record:DKIM (DomainKeys Identified Mail)
DKIM adds a cryptographic signature to outgoing emails that recipients can verify, proving the email was genuinely sent by your domain and was not altered in transit. Adding a DKIM record: Create a CNAME record in your DNS settings:- Name/Key:
knowlix._domainkey.your-domain.com - Value/Content:
knowlix._domainkey.knowlix.com.
marketing.your-domain.com), add an additional CNAME:
- Name/Key:
knowlix._domainkey.marketing - Value:
knowlix._domainkey.knowlix.com.
Note: Some DNS providers automatically append your domain to the key field. In those cases, enter only knowlix._domainkey in the name field and the provider appends your domain automatically.
DMARC (Domain-based Message Authentication)
DMARC builds on SPF and DKIM to declare what happens when an email fails authentication. It also provides delivery reporting. Adding a DMARC record: Create a TXT record:- Name:
_dmarc.your-domain.com - Value:
v=DMARC1; p=none; rua=mailto:postmaster@your-domain.com
p=none (monitor mode) to collect reports without impacting delivery. Once authentication is verified, move to p=quarantine or p=reject for stricter enforcement.
Configuring Outgoing Mail Servers
Go to Settings > Technical > Email > Outgoing Mail Servers (requires developer mode) to configure SMTP servers.Standard SMTP Server
Create a new server record with:- Server name - SMTP hostname (e.g.,
smtp.gmail.com) - Port - 465 (SSL) or 587 (TLS/STARTTLS)
- Security - SSL/TLS or STARTTLS
- Username - the sending email address
- Password - account password or app-specific password
- From Filter - the email address or domain this server should handle
Microsoft Outlook 365 via OAuth
Using OAuth with Outlook avoids storing passwords and uses Microsoft’s secure token-based authentication. Azure App Registration:- In the Azure portal, go to App registrations and create a new application.
- Name it something recognizable (e.g., “Knowlix Mail”).
- Under supported account types, select Accounts in any organizational directory and personal Microsoft accounts.
- Set the redirect URL to
https://[your-knowlix-domain]/microsoft_outlook/confirm. - Register the app.
- Go to API permissions and add Delegated permissions for:
SMTP.SendIMAP.AccessAsUser.All
- Under Users and Groups, add the users who will send email through Knowlix.
- Under Certificates & Secrets, create a new client secret. Copy the Value immediately (it is only shown once).
- Note the Application (client) ID from the app overview.
- Install the Microsoft Outlook module from the module catalog.
- Go to Settings > General Settings and enable Use Custom Email Servers.
- Enter the Client ID and Client Secret from Azure.
- Save settings.
- Go to Outgoing Mail Servers and create a new server with Outlook enabled.
- Enter the Outlook email username and click Connect your Outlook account.
- Complete the Microsoft authorization flow.
- Test the connection. A green “Outlook Token Valid” status confirms success.
| Setting | Value |
|---|---|
| Outgoing server username | notifications@company.com |
| From Filter | notifications@company.com |
mail.catchall.domain system parameter | company.com |
mail.default.from system parameter | notifications |
Gmail via OAuth
- Create a Google Cloud project and enable the Gmail API.
- Configure the OAuth consent screen and create credentials for a web application.
- Set the authorized redirect URI to
https://[your-knowlix-domain]/google_gmail/confirm. - Copy the Client ID and Client Secret.
- In Knowlix, install the Google Gmail module.
- Go to Settings > General Settings, enable Use Custom Email Servers, and enter the Google credentials.
- Create a new outgoing mail server with Google OAuth enabled and connect the account.
Mailjet
Mailjet is suitable for high-volume transactional and marketing emails.- Create a Mailjet account and generate an API Key and Secret Key.
- In Knowlix, install the Mailjet module.
- Configure a new outgoing mail server using Mailjet’s SMTP settings with your API key as the username and secret key as the password.
- Verify sending domains in Mailjet’s dashboard for optimal deliverability.
Configuring Incoming Mail Servers
Incoming mail servers allow Knowlix to receive emails and route them to the correct records automatically. Replies to messages sent from Knowlix, new customer emails, and support requests all come in through these servers. Navigate to Settings > Technical > Email > Incoming Mail Servers.IMAP/POP3 Configuration
Create a new incoming server record with:- Server type - IMAP (recommended for two-way sync) or POP3
- Server address - mail server hostname
- Port - 993 (IMAP SSL) or 995 (POP3 SSL)
- Username - the email address to monitor
- Password - account credentials
- Default alias - the Knowlix module that processes incoming messages (CRM, Helpdesk, etc.)
Outlook OAuth Incoming Mail
After configuring the Azure app withIMAP.AccessAsUser.All permissions:
- Go to Incoming Mail Servers and create a new server.
- Enable Outlook OAuth Authentication.
- Enter the Outlook email username.
- Click Connect your Outlook account and complete authorization.
- Test and confirm the server.
Email Routing Options
Knowlix provides three methods for routing incoming emails to the correct records: Catch-all alias - A single address that receives all incoming mail. Knowlix parses the subject and recipients to match emails to records. Module-specific aliases - Dedicated addresses per module:helpdesk@company.comfor support ticketssales@company.comfor CRM leadsexpenses@company.comfor expense recordsjobs@company.comfor recruitment applications
