
Most customers ask for help by email. Instead of working from a shared inbox, connect your support mailbox (for example support@yourcompany.com) to AiEngage CRM. The CRM then checks the mailbox every couple of minutes, brings each new email into Customer Support as a conversation and, once you switch it on, opens a ticket for it. When the customer replies to your answer, the reply lands on the same ticket, so the whole conversation stays in one place. This is called email-to-ticket.
This guide takes you through it step by step: preparing the mailbox (IMAP and an App Password), connecting and testing it, choosing what arriving mail creates, keeping out noise with exclusion rules, and looking after the mailbox afterwards.
Admin access to Customer Support settings.
The support mailbox customers write to, and access to its security settings (or someone who has it).
About 10 minutes, most of it spent with your email provider creating the App Password.
To send replies from your own domain, a verified sending domain. See Authenticate Your Email Domain (DKIM). Receiving mail doesn’t need it.
When… | What happens in AiEngage CRM |
|---|---|
A customer emails your support address | Within a few minutes the email is imported as a conversation. With Create Tickets on, a ticket is opened; with Create Contacts on, an unknown sender becomes a contact. |
An agent replies from the ticket | The reply is emailed to the customer. |
The customer replies | The reply is added to the same conversation. If it was closed within the reopen window, it reopens. |
An email matches an exclusion rule | It is never imported: no ticket, no conversation, no message. |
Click the Customer Support (headset) icon in the left rail, then Settings at the bottom of the Customer Support menu.

What this screenshot shows. The Settings item at the bottom of the Customer Support menu.
Above it are the channels (All conversations, WhatsApp, Chat) and your ticket views.
You can also press Ctrl + K (Cmd + K on a Mac) and search for Support Email.

What this screenshot shows. The tabs of Customer Support Settings.
Support Email (IMAP sync & exclusions) is where mailboxes are connected. This guide covers it.
From Email sets the address replies are sent from. See Set the From and Reply-To Address for Support Emails.
Notifications, General Settings and Chat Widget are covered in their own articles.

What this screenshot shows. The Mailboxes section before any mailbox is connected.
“The addresses your support team answers from. Replies arrive here as conversations.”
No mailboxes connected is the empty state.
How to connect? opens a five-step checklist (Part 2). Connect mailbox opens the connect form (Part 3). Both appear at the top right and in the empty box.
The note at the bottom is a reminder that sending is set up separately: a reply can only go out from a verified, DKIM-enabled address.
Click How to connect?. The guide Connect an email inbox tells you what to get from your email provider before you fill in the form. Nothing in it asks for your password, and it changes nothing.

What this screenshot shows. Step 1 of 5 · Choose your provider.
Pick your provider in Your email provider: Gmail (covers gmail.com, googlemail.com and Google Workspace) or Other / custom IMAP (any other server; you will need its host name, port and encryption).
“Gmail works over IMAP. The next steps are what it needs.” IMAP is the standard way for an app to read a mailbox.
Next and Previous move between the steps; Close closes the guide.

What this screenshot shows. Step 2 of 5 · Turn on IMAP.
Most providers ship with IMAP off. Switch it on in the mailbox’s own settings, usually Settings → Mail → “IMAP access” or “Forwarding and POP/IMAP”.
Work accounts: on Google Workspace or Microsoft 365, IMAP is allowed or blocked for the whole organisation. If you can’t see the option, ask your administrator to enable it.
Gmail’s own instructions opens Google’s help page.

What this screenshot shows. Step 3 of 5 · Create an App Password, the step people most often miss.
An App Password is a separate code issued for one application. It is not the password you sign in with; most providers refuse that one over IMAP.
1. Turn on 2-Step Verification first; App Passwords don’t exist until you do.
2. Open Google Account → Security → App passwords.
3. Create one and name it after this CRM (for example “AiEngage CRM”), so you can revoke just this connection later.
4. Keep the 16 characters. Spaces are fine.
Open Google App passwords takes you straight to the right page.

What this screenshot shows. Step 4 of 5 · Server settings.
For Gmail: IMAP host imap.gmail.com, IMAP port 993, Encryption SSL/TLS.
Copy settings copies them so you can paste them into the form.
You also need the email address and a username, normally the full address. A hosted domain may run its own IMAP server; check with your provider.

What this screenshot shows. Step 5 of 5 · Connect.
Close the guide and press Connect mailbox; type the email address; enter the IMAP host, port and encryption; paste the App Password; then press Test connection and Connect.
The test has to pass before the mailbox can be saved, and a failure names what went wrong. Nothing is stored until it passes.
Click Connect mailbox.

What this screenshot shows. The Connect mailbox form: “Enter the server details, then test before connecting.”
Email address: the address customers write to.
Incoming · IMAP: the server name, the port (993 by default) and the encryption (SSL/TLS, STARTTLS or None).
Username: leave empty to use the email address.
Password: the App Password.
Connect stays disabled until Test connection passes.

What this screenshot shows. The form filled in for support@yourcompany.com on Gmail.
The server is imap.gmail.com, port 993, SSL/TLS.
The Username shows the email address it will use.
The App Password is entered in Password (shown as dots).

What this screenshot shows. The ⓘ next to Password opened. It appears once you have typed a Gmail server.
Gmail needs an App Password: your normal Google password will be refused.
The same four steps as in the guide, and a link Open Google App passwords.
Click Test connection. If you change any field afterwards, test again; Connect switches off until a new test passes.

What this screenshot shows. A successful test: Connection verified.
IMAP authenticated: the server accepted the username and App Password.
INBOX selected: the CRM can read the inbox.
Sent folder found, here [Gmail]/Sent Mail, so replies you send from another mail app also appear in the conversation.
Connect is now active.

What this screenshot shows. A failed test: The server refused the login.
The failed check is listed with the reason: IMAP authenticated — AUTHENTICATIONFAILED Invalid credentials.
The server’s own message is shown word for word in the grey box, so you or your IT team can see exactly what it said.
The red hint explains the usual cause, here: “Gmail needs an App Password, not your account password — and the account must have 2-Step Verification on.”
Could not reach the server means the host name, port or encryption is wrong, or a firewall is blocking it; the password was never tried.
Connect stays disabled. Fix the field and test again.
Click Connect. A message confirms “Mailbox connected.” and the Email Sync Settings window opens.

What this screenshot shows. The Email Sync Settings window: “Choose what the CRM should create when new emails arrive in support@yourcompany.com.”
Create Contacts (on): a sender the CRM doesn’t recognise becomes a new contact.
Create Tickets (off): each new email thread opens a ticket your team can work. Switch it on to use email-to-ticket.
Save saves your choice; Exclusion rules & server settings opens the mailbox’s own page (Part 4).

What this screenshot shows. The mailbox in the Mailboxes list.
support@yourcompany.com with a green Connected badge and last sync 1m ago.
The three icons on the right: the gear opens the mailbox’s own page (Step 8); the plug disconnects it; the bin deletes it (Step 12). Point at an icon to see its name.
You can connect more than one mailbox with Connect mailbox, for example billing@ as well as support@.

What this screenshot shows. A mailbox that has a problem, for example after its App Password was revoked.
The badge changes (here Retrying) and the server’s message is shown in red under the address.
Click Reconnect. The CRM first tries the saved settings again; if they still work you see “Reconnected — the saved settings still work.”
If they don’t, the mailbox page opens with the server form so you can enter a new App Password and test it.
Click the gear on the row.

What this screenshot shows. The top of the mailbox page.
The address, its status (Connected) and when it last synced.
Edit server settings changes the host, port, encryption, username or password (Step 11).
The back arrow returns to the Mailboxes list.

What this screenshot shows. The Fetching section: how and how often new mail is collected.
Email sync: turn it off to stop fetching new mail without disconnecting the mailbox. While it is off, nothing is imported and nothing is created.
Last sync: when the CRM last checked the mailbox. It checks every couple of minutes.
Reopen window (1, 3, 7, 14 or 30 days; 7 days by default): a customer replying within this time reopens the closed conversation; after it, their reply starts a new one.

What this screenshot shows. The What arriving mail creates section, with Auto-create ticket switched on.
Auto-create contact: when someone who isn’t in your CRM emails, a contact is created for them.
Auto-create ticket: raises a ticket for every new email conversation. Off by default because, with it on, every newsletter and one-off email becomes a ticket too; add exclusion rules (Step 10).
Default team: new tickets from this mailbox are filed under this team (No team until you choose one).
Default assignee: new tickets from this mailbox are assigned to this agent (Unassigned until you choose one).
Each change here saves as soon as you make it and applies to every message this mailbox imports from then on.

What this screenshot shows. The Sending section: how replies to this mailbox’s conversations are sent.
Send replies over this mailbox’s SMTP on: replies leave from this mailbox’s own server, so they also appear in its Sent folder.
Off (default): they go out through your verified sending domain, and open and bounce tracking keeps working. See Set the From and Reply-To Address for Support Emails and Authenticate Your Email Domain (DKIM).

What this screenshot shows. The Exclusion rules section with some example rules.
Mail matching any rule is never imported: no ticket, no conversation, no message. The rules apply to this mailbox only.
Exclude senders: a full address, a bare domain (matches anyone there, e.g. newsletter.example.com), or a name ending in “@” such as no-reply@ (matches that mailbox at any domain). Type each one and press Enter.
Subject contains (e.g. out of office) and Body contains (e.g. this is an automated message): skip emails containing these words or phrases.
Click Save rules to apply them.

What this screenshot shows. The Diagnostics and Danger zone sections at the bottom of the page.
Test connection checks the saved settings against the server right now, which is useful if mail seems to have stopped.
Disconnect this mailbox: new mail stops arriving; conversations already imported stay where they are.

What this screenshot shows. The Edit server settings window.
Change the IMAP host, port, encryption, username or password. “These are re-tested against the server before they are saved.”
Leave Password blank to keep the current one; enter a new App Password if you have created one.
Test and save only saves if the test passes.

What this screenshot shows. The Disconnect confirmation (plug icon on the row).
“New mail stops arriving. Conversations already imported stay exactly where they are — nothing is deleted, and reconnecting the same address picks up where it left off.”
Use this to pause a mailbox, for example while you change its password.

What this screenshot shows. The Delete confirmation (bin icon on the row).
The mailbox is removed from your support settings for good; to use it again you set it up from scratch.
Conversations and tickets already imported from it are kept.
This can’t be undone. Cancel keeps the mailbox.
What you see | What to do |
|---|---|
The server refused the login | Use an App Password, not your normal password, and check 2-Step Verification is on. |
Could not reach the server | Check the host name, port (usually 993) and encryption (usually SSL/TLS), and that IMAP is switched on. |
Microsoft 365 mailbox won’t connect | Microsoft has disabled password sign-in for IMAP; connecting with a password isn’t possible. |
Emails arrive but no tickets | Switch on Auto-create ticket on the mailbox page. |
Newsletters become tickets | Add exclusion rules for those senders or subjects. |
Mail stopped arriving | Check the status and Last sync, click Reconnect or Test connection, and make sure Email sync is on. |
OpenAI Engage and apply what you just learned to your own workspace.
Open AI Engage CRM