How SuiteCRM automatic email import works

SuiteCRM's Check Inbound Mailboxes job pulls mail from connected mailboxes on a schedule. This page explains the settings that decide what is imported, when, and into which records, and what to verify before go-live.

On this page

How SuiteCRM automatic email import works for sales and service teams

Sales and service teams expect customer email to land in SuiteCRM without anyone forwarding it by hand. The Check Inbound Mailboxes scheduler job is what makes that happen: it connects to the configured mailboxes, fetches new messages and creates or updates the related records. A team needs it whenever shared inboxes such as support or sales addresses, or individual users' mailboxes, should be visible against accounts, contacts, leads or cases without manual effort.

Import does not work from one setting alone. It depends on three things working together: the type of mailbox (a group inbound account, a personal account or an OAuth connection, each with its own access and visibility rules), the scheduler that runs the job, and the folders the job is told to monitor. If the scheduler does not run, nothing is fetched. If a folder is not monitored, its mail is never seen. Before go-live, confirm with the SuiteCRM home page documentation and the SuiteCRM 8 admin guide for your exact version how each mailbox type is fetched, which folders are read, and how the job treats messages it has already processed.

Because this behavior is specific to the release in use, do not rely on memory of an earlier SuiteCRM 7 setup or on a neighboring install. Ask your administrator or implementation partner to write down, for each mailbox, which folders are monitored, whether only unseen messages are fetched, whether the job can create cases from incoming mail, whether automatic replies are sent, and whether messages are deleted from the server after import. Those answers decide whether a shared mailbox will show a complete history or gaps.

Test with a mailbox you control before connecting a live customer inbox. Send a known message to a monitored folder, run the job manually or wait for the scheduled run, and confirm that the record appears once, with the right owner and visibility. Then send a message that matches a case rule and one that does not. Keep the test results with your change record, because they become the baseline you compare against when someone reports a missing email later.

How the Check Inbound Mailboxes job moves mail into SuiteCRM

The flow starts with the scheduler triggering the Check Inbound Mailboxes job on the SuiteCRM host. The job connects to each enabled inbound mailbox across the trust boundary to the external mail server, reads only the monitored folders, and fetches a limited batch per run. Fetched messages become email records, and where configured, cases and contacts are created or linked. Auto-reply and deletion after import are optional final steps. Check the options table settings at each step, since they control folders, limits and deletion.

The import job runs on the SuiteCRM host and fetches mail across the trust boundary.

Which parts of the import decide what appears in SuiteCRM

Automatic import is the product of several parts working together: a scheduled job, a mailbox record, the folders it reads, and the position it remembers in each folder. Each part controls a different aspect of what lands in SuiteCRM, so a symptom usually points to one specific setting.

The Check Inbound Mailboxes job

This scheduler job is what actually fetches mail. If it is disabled, not scheduled, or failing, no inbound mailbox receives anything, even when every mailbox record looks correct. Check that the scheduler itself runs and that the job's last run shows success before you change any mailbox setting. Start with the job status when mail stops arriving. Confirm the job's schedule and its interval against the SuiteCRM 8 admin guide for your installed version.

SuiteCRM 8 admin docs

The inbound mailbox record and credentials

The inbound mailbox record stores the server, protocol, username and secret the job uses to connect. A wrong host, port, encryption setting or expired password causes a connection failure, and the job reports nothing new. Credentials tied to an OAuth provider can also lapse when consent is revoked or the token is refreshed incorrectly. A mailbox that connects but imports nothing usually points to the folder settings instead. Confirm each field name in the admin guide for your version.

Monitored folders

The monitored folders list tells the job which mail folders to read, such as the inbox or a custom folder. Mail moved to a folder the job does not watch is never imported, and a folder added later starts from its own position. Review the list whenever a user or mail rule moves messages. A message that exists in the mailbox but not in SuiteCRM is most often in an unmonitored folder. Confirm how folder names are matched against your mail server's naming.

Per-folder cursor position

For each monitored folder, the job keeps a record of how far it has read. This cursor decides which messages count as new on the next run. If the cursor is reset, moved or wrongly advanced, the job can re-import old messages as duplicates or skip a range entirely. Duplicates and gaps after a mailbox change usually trace back to this position. The sync repair tool covers the recovery steps, so check that guide before resetting anything by hand.

Per-run limit and unseen-only fetching

The per-run limit caps how many messages one job run imports, and the unseen-only choice restricts fetching to messages the mail server has not marked as read. A low limit on a large backlog means the import takes several runs to catch up. Unseen-only fetching means a message opened in another client before the job runs may never reach SuiteCRM. Decide which behavior you want before go-live, because changing it later alters what the job considers new. Confirm the exact setting names in the admin guide.

Case creation and auto-replies

Some mailboxes are set to create cases from incoming mail or to send an automatic reply. Case creation affects service queues directly, so a mailbox that feeds a support address can fill a queue with messages that are not cases. Auto-replies can loop with other automated senders or reach customers unexpectedly. Test these behaviors on a shared mailbox with a dummy message before enabling them for a live address. Confirm the current options and their defaults for your installed release.

Import settings and when each one fits

This table compares the six import settings a team can tune in the Check Inbound Mailboxes job, with the situation each one suits, the risk if it is set wrong, and what to confirm in your environment. Use it to decide which settings to change before go-live, and treat the current default and option names in your installed version as the final check.

SettingWhen it fitsRisk if wrongWhat to confirm
Monitored foldersOnly the folders where customer mail actually arrives, such as a shared support folder, so the job does not scan unrelated mailMail filed in an unmonitored folder never reaches the CRM, and broad folder lists add load to every runWhich folders are selected for each inbound account and whether any rule or client filter moves mail elsewhere first
Unseen-only fetchingMailboxes where a user or another client reads the same messages and the CRM should pick up only new arrivalsMessages already read in another client may be skipped, so the CRM record is missingWhether the job fetches unseen messages only, and how the mail server marks messages read when other clients open them
Fetch all messagesInitial import of a historical mailbox, or a repair run where missed messages must be recoveredDuplicate or slow runs on large folders, and repeated attempts to import mail that already existsExpected message volume per folder and how existing messages are matched so they are not imported twice
Per-run limitBusy mailboxes where a large backlog should be processed over several scheduler runs instead of one long runA limit set too low leaves a growing backlog, and one set too high can slow the scheduler or time out a runThe current per-run value in your version, the scheduler interval, and the message backlog in each monitored folder
Create cases from inbound mailSupport teams that want each customer email to open or update a case automaticallyEvery automated, newsletter or system message can create a case, filling the queue with noiseWhich senders, addresses or folders should create cases, and how replies are tied to existing cases
Send auto-repliesShared support mailboxes where the sender should get an acknowledgement that the message was receivedAuto-replies sent to other automated senders or to a mailbox that answers back can create mail loops and reputation damageWho receives replies, how automated senders are excluded, and that the reply uses the correct outbound account
Delete mail after importMailboxes where the server is a transfer point and the CRM is the system of record for the messageDeleting too early or with a wrong folder setting removes the only copy, and recovery depends on backupsWhether the source mailbox must keep a copy for other users, retention rules on the server, and a tested restore path before enabling this

Why folder positions and run limits decide whether mail is missed or duplicated

A job that reads a mailbox in batches has to remember where it stopped, or it will either re-read messages it already handled or skip messages it never reached. The import job works from a stored position for each monitored folder, often called a cursor. On each run it asks the mail server for messages after that position, processes up to the per-run limit, and then advances the position. The position is the job's only memory, so anything that changes it or the folder it refers to changes what the next run sees. Confirm with SuiteCRM for your version exactly how the cursor is stored, whether it is tracked per folder and per account, and what happens when a run stops partway through a batch.

A wrong position is the most direct cause of trouble. If the cursor is moved forward, for example after a manual repair, a restore or a mailbox being re-created on the server, messages between the old and new positions are never imported. If it is reset or lost, the job may fetch a large range again and create duplicate records. A low per-run limit does not lose mail on its own, but it stretches a backlog across many runs. Changing the monitored folders is a related risk: adding a folder starts a new cursor that may begin at the start of that folder's history, while removing or renaming a folder can leave an orphaned position that no longer matches anything. Before changing folders, record the current settings and the number of messages in each folder on the server so you can compare afterward.

A backlog is normal after a configuration change, a credential problem or an outage, and it can take several runs to clear if the per-run limit is small relative to the volume of waiting mail. Watch for it by checking that the import count per run trends toward zero, that the newest imported message date keeps pace with the current date, and that the number of unseen messages on the server falls over successive runs. Log entries in suitecrm.log and the scheduler's job status show whether each run completed. A run that repeatedly ends early, or a count that stays flat while the server backlog grows, points to a stalled cursor rather than a slow queue. Ask your implementation partner or SuiteCRM support to confirm how your version reports progress before you rely on these signals in production.

Tuning import for group mailboxes versus personal accounts

Shared inboxes such as support or sales addresses are where automatic import does the most visible work. Each message the job picks up can become a case, trigger an auto-reply and appear to everyone with access, so the settings you choose affect customers directly. Confirm the design on a staging instance before you enable import on a live shared mailbox.

  • Case creation: Decide which monitored folders feed case creation and which only attach messages to existing records. Test with a folder of sample mail before pointing it at the live support queue.
  • Auto-replies: Confirm who receives automatic replies and how often. A reply sent to every inbound message can loop with other automated senders, so agree the sender filtering and reply rules with the mailbox owners.
  • Shared visibility: Confirm which roles and security groups will see imported mail. The visibility rules for group accounts are covered on the inbound visibility and security groups page.
  • Folder scope and limits: Name the monitored folders explicitly and check the per-run limit against expected daily volume so a busy inbox does not build a backlog.

Before enabling import, confirm the monitored folders, case creation rules, auto-reply recipients and the people who can see the mailbox. Provider design for a company domain is covered on the External OAuth Providers page.

How to set up and verify automatic import before go-live

This sequence moves automatic import from a planned configuration to a verified production mailbox. Each step closes with a check, so the team knows what works before real customer mail depends on it.

  1. Confirm the SuiteCRM version and scheduler

    The admin confirms which SuiteCRM 8 minor and patch version is running on the test and production environments, and checks it against the compatibility matrix for the PHP, web server and database versions in use. The admin then confirms that the scheduler job that runs Check Inbound Mailboxes is active and that the cron entry or worker that triggers scheduled jobs is running on the server. Done when the version is recorded for both environments, the scheduler job shows as enabled, and a manual or scheduled run of the scheduler completes without errors in the logs.

  2. Create the inbound mailbox and authentication

    The admin creates the inbound mailbox record in SuiteCRM for the test account and chooses the authentication method the mail provider supports, such as OAuth through an External OAuth Provider or basic authentication where the provider still allows it. Confirm with the mail provider which protocol, server, port and encryption settings apply, and whether the account needs an app password or a dedicated service identity. Done when a connection test from the mailbox settings succeeds and the account lists the folders the test account can see.

  3. Choose monitored folders on a test mailbox

    Using a test mailbox that holds only sample messages, the admin selects the folders SuiteCRM should monitor, typically an inbox or a dedicated support folder, and leaves out sent, drafts and archive folders. Record which folders are selected and why, so later changes are traceable. Done when the folder list in the mailbox settings matches the written design and a manual check of the test mailbox confirms that messages in the unselected folders are not expected to be imported.

  4. Set import options with a conservative first run

    The admin sets the import options for the first run with the most restrictive choices available: a low per-run message limit, unseen-only fetching where it fits the design, and deletion of mail after import turned off. Case creation and auto-reply options stay off until the test messages have been reviewed. Confirm each setting against the written design and record the values. Done when the saved configuration matches the record and the first scheduled run shows only the expected number of messages imported.

  5. Send test messages and review the results

    Someone outside the SuiteCRM team sends a set of test messages to the test mailbox, covering a new sender, a reply to an existing thread, a message with an attachment, and a message with unusual characters or a timezone-sensitive date. After the scheduler runs, the admin checks each resulting email record, its linked contact or account, and any case that should or should not have been created. Done when every test message appears once, in the expected record, with the correct sender, date and attachments, and no duplicates or unexpected cases exist.

  6. Check logs for errors and warnings

    The admin reviews the SuiteCRM log file for the scheduler run and the mailbox connection, looking for authentication failures, folder errors, timeouts and import warnings. Repeat the test messages after any correction to confirm the fix worked rather than assuming it did. Done when the logs for the test runs show no unexplained errors, and each warning has either been resolved or recorded with an owner and a decision.

  7. Enable the production mailbox and watch early runs

    The admin repeats the verified configuration on the production mailbox, using the same folder choices and options that passed testing, and enables it. The admin then watches the first several scheduled runs, comparing imported emails and cases with what arrived in the mailbox, and checks the logs after each run. Only after the early runs show clean results should the team relax the per-run limit or change other options. Done when the first runs show expected imports, no duplicates, and no new errors, and the team has a written owner for ongoing log review.

Security risks of automatic import that teams should review

Automatic import turns every message that reaches a monitored mailbox into CRM data, and it does so on a schedule. The cards below cover the risks an admin should assess before enabling the Check Inbound Mailboxes job, along with the control that addresses each one. Confirm each control against the SuiteCRM security documentation for the version you run before relying on it.

Unknown senders creating records

Any address that can reach a monitored folder can cause the job to create cases, leads or other records. Spam, phishing and hostile messages then sit inside the CRM, where users may act on them. Restrict which folders are monitored, review how case creation rules match senders, and test with a copy of the mailbox before go-live. Confirm how your version matches inbound messages to existing contacts and accounts.

Deleting mail after import

When the job is set to remove messages from the server after import, the mailbox copy is the only copy if the import fails or misfiles a message. Decide whether deletion is required at all, and keep a retained archive or backup of the mailbox before enabling it. Test the deletion setting on a staging mailbox first so you know what is removed and what remains.

Auto-replies that loop or disclose

An auto-reply sent to an address that also triggers auto-replies can create a loop between two mailboxes or systems. A reply can also reveal internal case numbers, staff names or system details to an outside sender. Review the reply template text, restrict auto-replies to known senders where your version allows, and check the outbound mail log during testing.

Mailbox credentials stored in SuiteCRM

Each inbound account needs a login to the mailbox, so SuiteCRM holds a credential that can read that mail. Use an account with the narrowest mailbox access that works, prefer OAuth where your version supports it, and limit who can edit inbound account settings. Confirm where the credential is stored, how it is encrypted and who can read it in the admin console for your version.

Who can see imported mail

Imported messages become CRM records, so anyone with access to a related record can often read the message body. Shared mailboxes can expose one team's mail to users in other teams. Set role and security group rules before import starts, and check which users can view group inbound accounts and the cases or emails they create.

Missing audit trail

Without logs, an admin cannot tell which messages were imported, which were skipped, and which caused errors or unexpected records. Confirm where the import job writes its activity and errors, such as the application log, and keep those logs for the period your policy requires. Review them after each change to folder or case settings.

Questions buyers ask before setting up SuiteCRM email import

Can an internal admin configure SuiteCRM email import without a partner?

Yes, a capable internal admin can configure a single shared mailbox or a small number of personal mailboxes, provided they have administrator access to SuiteCRM, access to the mail provider's admin console, and time to test. The work becomes harder when several mailboxes, OAuth provider registration, folder rules and case creation all need to be set up together, because a mistake in one setting can cause missed or duplicated messages. Confirm with your mail provider which authentication method it supports before you start, and plan a staging test first.

What drives the effort of a SuiteCRM email import project?

Effort rises with the number of mailboxes, the complexity of the folder layout, the authentication method and the case rules. Each monitored folder has its own cursor and per-run limit, so a large folder tree needs more tuning than a single inbox. OAuth setup with a provider adds registration and consent steps, while basic authentication depends on whether your provider still accepts it. Case creation rules, auto-replies and deletion behavior each add decisions that must be tested against real messages. Testing scope is usually the largest variable.

What does the business need to provide for email import?

The business needs to name an owner for each mailbox, supply representative sample messages and make three decisions in writing: whether imported mail is deleted from the source folder after import, whether automatic replies are sent to senders, and which messages should create cases. Owners should confirm which folders hold customer mail and which hold internal or newsletter traffic. Without sample messages, testing covers only the cases the team imagined, not the ones that arrive in practice.

How long does testing an email import setup take?

Testing time depends on the scope: the number of mailboxes, folders, message types and the number of rules being verified. A single mailbox with a flat folder structure needs a short test cycle, while several mailboxes with nested folders, OAuth connections and case rules need repeated runs across varied messages, including attachments, replies, forwarded mail and messages with unusual encodings. Ask any partner to show the test cases and the environment they will use, and confirm the timeline against that list rather than a fixed number.

What should a partner quote for SuiteCRM email import include?

A written quote should list the mailboxes and folders in scope, the authentication method for each, the case creation and auto-reply rules, the deletion policy, and the testing scope on a staging instance. It should state what is delivered, such as configuration documentation and a test record, and what the client must provide, such as mailbox access and sample messages. Ask which items are one-time work and which, such as ongoing monitoring or retainer support, recur. DeployOpen does not publish a price list, and a quote follows from the written scope.

What risks should I check before turning on automatic import?

The main risks are duplicate cases from repeated fetches, missed messages when a folder cursor is reset, unintended deletion of mail from the source mailbox, and auto-replies sent to automated or external senders. Test deletion settings on a copy of the mailbox first, and confirm how your provider handles unseen flags, since unseen-only fetching changes which messages are picked up. Check the SuiteCRM logs after each test run. For sync repair, review the SuiteCRM email sync repair documentation and your own logs before changing live settings.

When should we ask a partner to help with email import?

Ask for help when the import spans several mailboxes, when OAuth or group provider decisions affect who can see shared mail, when case rules must match a documented process, or when your team cannot run a staging test before go-live. Help is also useful after an incident, such as duplicated cases or missing messages, when the root cause needs review in logs and mailbox state. Confirm the boundaries of any support engagement in writing before work starts.

Limits to confirm in your SuiteCRM environment

Automatic import behavior depends on the exact SuiteCRM 8 version, the mail server, the host's background processing and how your organization handles mail retention. The cards below list the points to verify in your own environment, with the party best placed to answer each one.

Exact import behavior per version

The folder, cursor, limit and deletion behavior described on this page must be confirmed against the SuiteCRM 8 release you run, not assumed from another version. Check the release notes for your current minor line and for any later minor release you plan to adopt, because import logic can change between minors. Patch releases carry only security and bug fixes, but a minor upgrade is where import changes are most likely to land. Ask the SuiteCRM documentation for the changelog of each version in your plan, then reproduce import on a staging instance.

Core release notes

Mail server support for your model

Confirm that your mail provider supports the authentication method and folder model you intend to use. Basic authentication with app passwords, OAuth through an external provider and shared group mailboxes each depend on different provider settings, and some providers restrict IMAP access by policy or licence. Ask the mail provider whether IMAP access, the required OAuth scopes and the folder names you plan to monitor are available for your tenant. Then test a single mailbox end to end before you add more.

Scheduler and worker health

Automatic import runs as a scheduled background job, so it only works when the scheduler is active on your host and the job is enabled. Confirm with your platform team how cron is configured, which user it runs as, and how failed runs are logged and alerted. Check that a run completes and records its result, not just that the job is listed. Test the job with a deliberately stopped scheduler to see how quickly your team notices missing mail.

Handling very large backlogs

A mailbox with a long history can take many runs to catch up, and the per-run limit controls how much arrives each time. Ask how your version handles a first import against a large folder and whether the per-folder cursor resumes cleanly after an interrupted run. Measure the time and load of a realistic backlog on staging, using a copy of a mailbox that reflects your message volume. Agree with your team how old mail should be treated before the first run.

Personal versus group mailbox differences

Personal and group inbound accounts can differ in who triggers the import, who sees the resulting records, and how case creation and auto-replies are applied. Confirm these differences in the documentation for your version and in your own test results, not from general assumptions. Check whether a group mailbox sends auto-replies from a shared address and whether personal connections can run without the user being logged in. Document the answer for each account type before you configure production mailboxes.

Retention and deletion requirements

Deleting mail after import is an irreversible action, so confirm with your compliance team which copies must be kept and for how long before enabling it. Check whether the platform removes messages from the server, moves them, or only marks them, and whether that matches your records policy. Ask your legal or records team who owns the retention decision and where it is recorded. Test the deletion setting on a non-production mailbox and confirm the messages you need remain in the archive.

How DeployOpen works on this

DeployOpen treats automatic email import as a designed workflow rather than a single switch. We first agree which mailboxes, folders and records are in scope, then build and test the import against your own mail flow, and hand over documented settings your team can review and operate.

How we scope

  • Inventory the shared and personal mailboxes that should feed SuiteCRM, and the folders each one should monitor.
  • Agree how inbound mail maps to cases, contacts and accounts, including which messages should create cases.
  • Set out auto-reply rules, delete-after-import expectations and retention needs in the written scope before work starts.

How we build

  • Configure the Check Inbound Mailboxes job and per-folder settings in a staging instance first, mirroring your mail provider setup.
  • Test per-run limits, unseen-only fetching and case creation with representative messages, including replies and forwarded threads.
  • Verify auto-reply and deletion behavior on test mailboxes so no live customer mail is lost during tuning.

How we hand over

  • Document the monitored folders, job schedule, limits and mailbox ownership so administrators can review the configuration later.
  • Walk your administrators through checking job logs, cursor behavior and the steps to rerun or repair an import.
  • Deliver a findings and configuration record that your security and compliance reviewers can read alongside the environment.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, including checks after SuiteCRM minor releases.
  • Re-verify import behavior when mailbox providers, OAuth settings or SuiteCRM versions change in your environment.
  • Ask for the support scope, response expectations and change process in the written quote before you commit.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.