Importing historical email into SuiteCRM: what the move involves
Teams with years of customer email in a shared mailbox or a previous CRM want that history searchable against accounts and contacts in SuiteCRM. The load runs through group inbound accounts and the Check Inbound Mailboxes scheduler, which pulls messages from each monitored folder into SuiteCRM. Effort depends on three things: how much mail sits in the source mailboxes, how much capacity the scheduler and its host have to process it, and how much matching work the team needs to do once the messages arrive. No duration or price can be stated responsibly before those are known. The exact time depends on a scoped inventory of each mailbox, including folder structure, message counts by year, attachment sizes and the accounts and contacts the mail must link to.
The cost of this work falls into a few components. Internal staff time goes to deciding which mailboxes and date ranges matter, agreeing how old mail is attached to records, and testing results against known conversations. Infrastructure cost covers the host that runs the scheduler and the database and file storage that grow with imported mail. Partner or vendor cost, where used, follows from the written scope. Most of the cost is one-time, but scheduler capacity, storage growth and mailbox credential maintenance recur after the load. When requesting a quote, ask for the inventory method, the matching rules for accounts and contacts, the test plan and the post-load monitoring that will catch a scheduler falling behind.
The main risk is planning the load without measuring it. A single group account pointed at a large folder can take many runs to finish, and the scheduler competes with other jobs on the same host. Confirm the mailbox provider's access and retention settings before the first run, because messages removed from the server before import cannot be recovered from SuiteCRM. Run a trial import against a copy of one mailbox on a staging instance, record how many runs it takes, and use that observed rate to schedule the full load in windows that do not affect daily email. Review the SuiteCRM automatic email importing guide for the exact settings before you change any production account.
What maps cleanly from a mailbox into SuiteCRM and what does not
This table compares common mailbox features with what the group inbound import documents, so you can see which parts of a history load carry over and which need planning or testing. Read the middle column as documented behavior and the right column as the check you run in your own environment before loading live data.
| Mailbox capability | What the group inbound import provides | What to confirm in your environment |
|---|---|---|
| Folder structure | Each monitored folder is fetched day by day from the last imported date, so folders are the unit of import | Map each source folder to one monitored folder, and decide which folders to skip |
| Message identifiers | Messages already in the emails table are skipped by checking the message UID | Confirm UIDs stay stable on your mail server after moves or re-syncs |
| Read state | Import can optionally fetch only unseen messages | Decide whether historical mail should be treated as unseen, and test both settings |
| Deletion after import | Messages can optionally be deleted from the server after import | Keep this off for history loads until you have verified the results |
| Attachments | Not documented as a separate import step on this page | Load a sample thread with attachments and confirm they arrive and are linked |
| Sender and recipient matching | Messages attach to existing records only after address matching succeeds | List unmatched addresses in advance and decide whether to create records first |
| Threading | Not documented on this page | Check how replies appear in the CRM and whether conversation context is kept |
| Import pace | Each run stops at a per-run limit, so large histories take several runs | Plan run frequency and watch scheduler load before extending the window |
Which documented import paths SuiteCRM provides for email
SuiteCRM's documented email import runs through group inbound accounts polled by the Check Inbound Mailboxes scheduler. Three settings shape how a historical load behaves: which messages are fetched, how far back the cursor walks, and whether the source mailbox is changed afterward. Each option carries a different risk, so the choice should follow from what the team has verified.
Group inbound accounts and the scheduler
A group inbound account is the mailbox that the Check Inbound Mailboxes scheduler polls for historical and new messages. The scheduler fetches each monitored folder day by day from the last imported date until a per-run limit is reached. Confirm which folders are monitored, which date the cursor currently holds, and whether the account is active before any load starts, because an inactive account is skipped without warning.
Automatic email importing docsUnseen-only fetch
The unseen-only option restricts the scheduler to messages the mailbox has not marked as read. It suits a team that wants new mail to flow in while older mail stays untouched, but it can miss historical messages that a user already opened in the source client. Before relying on it for a backfill, check how many historical messages are already marked as read, since those will not be imported by this option.
Duplicate protection by message UID
SuiteCRM skips any message whose UID already exists in its emails table, so repeated scheduler runs over the same folder do not create duplicate email records. This protection is what makes a multi-day backfill safe to resume. It depends on UIDs staying stable in the source mailbox, so confirm with the mail administrator that the server has not been migrated or re-indexed mid-load.
Delete from server after import
The optional delete setting removes messages from the source mailbox once they are imported. It changes the source system, so the only copy may leave the mailbox and rely on SuiteCRM. Do not enable it until the team has checked record counts, attachments and sample threads in SuiteCRM and has an external copy of the mailbox.
Per-run limit and cursor pacing
The per-run limit caps how many messages a single scheduler run imports, and the cursor advances day by day until that cap is reached. A low limit keeps each run short and easy to watch, while a high limit can hold the scheduler busy for long periods. Set the limit with the scheduler's run frequency in mind, and record how far the cursor moves each run so progress can be reported.
How the SuiteCRM email import cursor walks back day by day
The Check Inbound Mailboxes scheduler does not pull a historical mailbox in one pass. For each monitored folder of an active group inbound account, it fetches mail day by day, starting from the last imported date, and stops when a per-run limit is reached. A historical load is therefore a long series of scheduler runs, each advancing the cursor a bounded amount. A first run that begins at the newest mail will import the most recent slice of history and then stop, so the oldest messages arrive last, and only after many runs. Before you start, confirm with your own configuration how the starting date and the per-run limit are set, where the cursor position is displayed or stored, and what the scheduler does when a folder has no mail on a given day. Record the cursor value for every folder so you can tell whether the load is moving backward at the rate you planned.
Duplicate protection is the control that makes repeated runs safe. SuiteCRM checks the message UID against the emails it already holds and skips messages it has imported before. In practice, if you reset or overlap a date window to fix a gap, the re-run should not create copies of mail already in the CRM. Do not rely on that assumption for a production mailbox. Create a test group inbound account on a staging instance, load a small window that contains known messages, then reset the cursor to the same window and run again. Count the emails records and check that no duplicates appeared, including for messages that were moved or flagged between runs. Also confirm whether your settings to fetch only unseen messages or to delete messages from the server after import are on, since either choice changes what a second pass will see.
Plan the load around the scheduler's capacity rather than the mailbox size. Each run is bounded by the limit you set, so the total number of runs grows with the depth of history and the number of folders, and each run competes with other scheduled jobs on the same host. Choose a per-run limit that completes well inside the scheduler interval on your slowest expected day, then watch run duration and the cursor over several cycles before you widen the window. Keep a written record of the start date, end date, limit and the account used for each folder. That record lets you explain later which messages were loaded, which were skipped as duplicates and which still need a run.
How a historical email load moves from the mailbox into SuiteCRM
The load starts in the source mail server, where the folders to import live. A group inbound account in SuiteCRM connects to those folders, and the Check Inbound Mailboxes scheduler fetches each folder day by day from the last imported date, stopping when the per-run limit is reached. Before a message becomes a record, SuiteCRM checks its UID against the emails table, so a repeated run does not create duplicates. Check the per-run limit, the unseen-only option and the delete option at the points marked, since the delete option removes messages from the source server.
Data path for a historical email load, with the controls the team sets.
Sequencing a historical email import into SuiteCRM
This sequence moves historical email from an archive into SuiteCRM in controlled stages, so each folder is proven on a pilot, the load fits scheduler capacity, and live inbound mail keeps flowing without duplicates or mismatched records.
Inventory mailboxes and folders in scope
Before any account is configured, list every mailbox, shared group address and folder that holds customer email you intend to import, and record the approximate date range each folder covers. Note which folders contain personal or out-of-scope mail that should be excluded, and confirm with the data owner which retention rules apply. The output is a signed-off scope list that maps each source folder to a target group inbound account. Done when the owner has approved that list in writing.
Configure group inbound accounts on staging
On a staging instance, create one group inbound account per source mailbox and set each monitored folder explicitly, so the import cursor only walks the folders on the approved list. Keep the account settings identical to what production will use, including folder names and whether the import fetches only unseen messages or deletes messages from the server after import. Test that each account authenticates and lists its folders. Done when every account connects and shows the expected folder set on staging.
Run a pilot on one folder
Choose a single small folder with a known message count and run the Check Inbound Mailboxes scheduler against it only. Record how many messages arrive in the first run, the date the cursor reaches, and whether the number of stored emails matches the number of source messages. Then run the scheduler again over the same range and confirm that the message UID check skips every message already imported. Done when a repeat run creates no new email records and the counts reconcile.
Size the per-run limit against scheduler capacity
Using the pilot results, set the per-run limit so one scheduler execution finishes before the next one starts and does not compete with live mail or other jobs. Watch scheduler run times, worker queues and database load during the pilot, and reduce the limit if runs overlap or slow other tasks. Confirm the limit with the platform owner who runs the scheduler. Done when a run completes at a steady pace with no backlog building in the queues.
Run the full load in windows
Load the remaining folders in defined windows, one account at a time, while live inbound mail continues to arrive. Keep a log of each run with the folder, cursor date, messages fetched and any errors, and pause the load if live mail processing slows. Because the import walks back day by day, check that the cursor moves steadily and that no folder stalls on a single date. Done when every folder reaches the agreed start date and the run log shows no unexplained gaps.
Verify record matching
Sample imported emails and confirm they are linked to the correct accounts, contacts and cases in SuiteCRM, using the addresses and domains recorded during scoping. Check for duplicate email records, misattributed messages and messages that landed on unrelated records, and document the rules used to resolve each exception. Agree with the business owner which unmatched messages stay in the archive. Done when the sample results meet the acceptance criteria written during scoping.
Cut over live inbound and retire the archive
Confirm that live inbound accounts are the only accounts fetching new mail, and that the historical accounts no longer monitor folders that receive current traffic. Verify that new messages arrive once and do not duplicate imported records. Once the owner signs off, retire the old archive according to the retention plan and keep a read-only export if policy requires it. Done when live mail appears in SuiteCRM without duplicates and the archive decision is recorded.
What drives the cost and duration of the load
This table compares each driver that moves the effort of a historical email load, whether it is paid once or recurs, and what to ask for in a quote. Read it before scoping, since most of the duration comes from volume and cursor runs rather than from configuration.
| Driver | Why it changes effort | One-time or recurring | What to ask for in a quote |
|---|---|---|---|
| Mailbox volume and folder count | Each monitored folder is walked day by day from the last imported date, so more folders and a longer history mean more scheduler runs. | One-time | Folder inventory, message counts per folder and the date range each load covers |
| Attachment size | Large attachments increase fetch time and storage per run, which can stretch runs past the per-run limit. | One-time | Attachment size distribution and the storage location the import will write to |
| Scheduler runs the cursor needs | The per-run limit sets how many runs a folder needs to reach its start date, so a low limit multiplies the schedule. | One-time | Estimated run count per folder and the cron cadence assumed in the plan |
| Scheduler and worker capacity on the host | Imports compete with other scheduled jobs and the Messenger worker on the same server, which sets how fast runs finish. | One-time to size, recurring to monitor | Host sizing review, job overlap checks and the monitoring that will confirm runs keep up |
| Contact and account matching | Messages from addresses that match existing accounts and contacts link cleanly, while unknown senders need manual review or new records. | One-time | Matching rules, expected share of unknown senders and who resolves unmatched records |
| Duplicate and noise cleanup | UID checks prevent repeat imports of the same message, but duplicates from other sources, newsletters and automated mail still need filtering decisions. | One-time, with some recurring checks during rollout | Filter rules, deletion policy and whether messages are removed from the server after import |
| Verification the business requires | Sampling, reconciliation against source counts and sign-off by records owners add review time before the data is trusted. | One-time | Sample size, reconciliation method, acceptance criteria and named approvers |
| Ongoing sync after the load | If the group inbox keeps receiving mail, the scheduler must continue importing new messages after the historical load ends. | Recurring | Ongoing monitoring scope, alerting for failed runs and the owner of the scheduler |
What usually goes wrong with historical email loads and how to prevent it
Historical email loads fail in predictable ways: they run out of time, they duplicate or misfile messages, and they interact badly with live mail and with privacy rules. Each card below names one failure, why it matters for a backfill through group inbound accounts, and the check that stops it before the load reaches production mail.
Load misses its window
The Check Inbound Mailboxes scheduler walks each monitored folder one day at a time from the last imported date and stops at the per-run limit. A large archive can therefore need many runs, and a scheduler that is already busy with other jobs will fall behind. Before starting, estimate how many days and how many runs the archive needs, then confirm the scheduler interval and run limit on a staging copy. Track the import cursor daily and treat a stalled cursor as an incident.
Automatic import docsDuplicates from re-runs
SuiteCRM skips a message when its UID already exists in the emails table, so duplicates appear when UIDs do not match the mailbox the messages came from. Re-pointing an account at a different mailbox, a changed folder name or a rebuilt server can make the same mail look new. Confirm that each source folder maps to one group inbound account, run a small test window first, and count messages in the mailbox against records in SuiteCRM before widening the date range.
Deleting mail before verification
The option to delete messages from the server after import removes the only source copy once the load succeeds. If the import later proves incomplete or mis-mapped, that mail cannot be recovered from SuiteCRM. Keep this option off for the historical load, verify counts, dates and sample messages by account, and only then decide with the mail owner whether any server-side cleanup is allowed. Record that decision in the migration plan.
Mail matched to wrong accounts
Imported messages are linked to CRM records by the addresses they contain. Shared addresses, forwarded threads and personal mailboxes that were used for several customers can attach history to the wrong account or contact. Before the full run, pick a sample of customers with known correspondence, check the linked records, and agree a rule for messages with several matching contacts. Ask the business owner to sign off on the sample rather than relying on the importer alone.
Live mail during backfill
New messages arriving while the backfill runs sit in the same folders and are fetched by the same scheduler, so they compete for the per-run limit and can be imported out of order. Staff may also reply to a thread before its older history is loaded. Decide whether live and historical mail use separate group accounts or folders, and confirm with the team which records they will work from during the load window. Check the most recent days first so current conversations stay complete.
Personal data retention rules
Historical email often holds personal data, including messages about customers who have since asked for deletion or whose records fall under a retention schedule. Import scope should follow the same rules that govern the source mailbox, not only what is convenient to load. Before the run, agree with the data protection lead which folders, date ranges and correspondents are in scope, how long imported messages are kept, and how erasure requests will be handled in SuiteCRM. Document those answers before the first import.
Who runs the load: the internal team or an outside partner
This model fits a team that already runs SuiteCRM and has a Linux administrator who can manage the server, cron and mail connectivity. The internal team keeps control of the group inbound accounts, the scheduler settings and the decisions about which folders and date ranges are loaded. A partner, if used, would typically be engaged for planning the load, checking the scheduler behavior on a staging instance or reviewing results, rather than for day-to-day running.
- Mailbox access: The internal team must provide the group mailbox credentials, the folder list and confirmation that the mailbox provider allows the import connection.
- Scheduler capacity: The Linux administrator confirms that the Check Inbound Mailboxes job runs on a schedule the server can sustain alongside other jobs.
- Staging trial: The SuiteCRM admin runs a small test import on a staging instance before any production run.
- Partner scope, if used: A partner would take on load planning, run-limit tuning and post-import checks, all written into a fixed scope.
- Ownership: Name one person who approves each run and who watches for failed or stalled jobs.
Before deciding, confirm that the current team has the time to monitor long runs and that the server has no spare scheduler capacity for a backlog.
This model fits an organization that uses SuiteCRM but has no one who maintains its scheduler, logs or mail accounts. The team must decide who will watch the import over its full duration, because the import walks back through mail day by day and stops only when the per-run limit is reached. An outside partner would usually take on the setup, the import plan and the monitoring, while the organization supplies access and business decisions about what history is worth loading.
- Business decisions: The organization must decide which mailboxes, customer records and date ranges matter, and who signs off on them.
- Access grants: Provide mailbox and server access in writing, with the least privilege that the work requires.
- Partner scope: A partner would normally cover configuration, the run schedule, duplicate checks by message UID and a written handover of how to resume a stopped import.
- Handover: Ask for runbooks covering restarts, failed runs and how to check the last imported date.
- Ongoing operation: Decide whether someone will own the scheduler after the import finishes, since a retainer or an internal hire may be needed.
Before deciding, ask a potential partner how they will report progress, who they will contact when a run fails and how the handover will be recorded in writing.
This model fits a team that must show regulators, auditors or internal assurance functions how historical customer email was loaded, who could access it and how long it is kept. The technical load may look the same as in other tabs, but the evidence trail becomes part of the deliverable. Whether the internal team or a partner runs the import, the retention rules, access records and change history must be agreed before the first run.
- Retention rules: Compliance must confirm the retention period, the lawful basis for the historical data and any exclusions, in writing.
- Access evidence: Keep records of who held mailbox credentials, who approved each run and who can view imported emails in SuiteCRM.
- Change records: Record each run's configuration, folders, date ranges and results so they can be reproduced for an auditor.
- Partner obligations, if used: A partner would need to commit in the statement of work to logging, access limits, data location and secure disposal of credentials.
- Control mapping: Ask your auditor which controls the import must support and check how the SuiteCRM security settings cover them.
Before deciding, confirm with your compliance and security teams which records they need and whether a partner's staff may access the mailboxes at all.
This model splits the work by phase: the internal team handles the mailbox and business decisions, while a partner or a second internal group handles configuration and checks, or the reverse. It suits teams that want to keep credentials and approvals in-house but lack capacity to design and monitor the load. The main risk is unclear handover points, so each phase needs a named owner.
- Phase assignment: Decide which party owns planning, configuration, the run itself and post-import verification.
- Credential custody: Keep mailbox credentials under the internal team's control even when a partner configures the import.
- Handover checkpoints: Agree what artifacts pass between parties, such as the folder list, the run log and the duplicate check results.
- Cost components: Costs usually come from design time, scheduler and server capacity, and monitoring effort, so ask for each to be quoted separately.
- Exit terms: Confirm how the work is handed back if the engagement ends before the load completes.
Before deciding, confirm who can stop a run, who signs off the final result and how disputes about a missing or duplicated message will be resolved.
Questions buyers ask before importing email into SuiteCRM
What drives the cost and effort of importing historical email into SuiteCRM?
The biggest driver is how many mailboxes, folders and years of mail sit in scope, because each one adds configuration, test runs and checks. Other drivers are how many group inbound accounts you need, how clean the mailbox structure is, and whether your team must decide which messages to keep before loading them. Cost has two parts: setup work (account configuration, scheduler settings, a test load on staging) and review work (spot checks on linked records and sign-off). Setup is one-time, while the ongoing scheduler and mailbox upkeep recurs. Ask any quote to list the mailboxes in scope, the folders in each, the date range, the test cycles included and who reviews the results.
How long does a historical email load take, and what sets that time?
The import walks each monitored folder back one day at a time from the last imported date, and it stops each run when it reaches a per-run limit. Total duration therefore depends on the number of folders, the number of days of history, the volume of messages per day, the per-run limit you set, and how often the Check Inbound Mailboxes scheduler runs. Mailbox server response times and the capacity of the SuiteCRM host and database also matter. Because the run limit caps each pass, a large archive is loaded across many scheduler cycles rather than in one job. Confirm the schedule, the run limit and the expected message volume on a staging instance before you commit to a completion date.
Can our own team import historical email without a partner?
Yes, if your team has administrator access to SuiteCRM, can configure group inbound accounts and can run and watch scheduled jobs. The steps are standard SuiteCRM administration, but the judgment calls are where teams get stuck: choosing folders, setting limits, deciding on retention and validating results. A partner is useful when the archive is large, several mailboxes must be mapped to different teams, or you need documented evidence for an internal or external review. Whichever route you take, test on a staging copy first. Ask the SuiteCRM admin guide for the current behavior of the scheduler and options before you rely on them.
What does the business need to provide before the load starts?
Three things must be decided before any configuration: which mailboxes and folders are in scope, who owns each group inbox and can answer questions about its content, and what retention rules apply to the imported mail. Access is needed to the mail accounts, with credentials or delegated access that the mail administrator approves and can revoke. Legal, compliance or records teams should confirm how far back to go, whether personal or sensitive content must be excluded, and how long the imported messages must be kept. Write these decisions down, because they set the folder list, the date cut-off and the cleanup rules.
Does SuiteCRM avoid importing the same email twice?
SuiteCRM skips messages that already exist in its emails table by checking the message UID, so re-running an import over the same folder should not create duplicate email records. That protection depends on the UIDs being stable on the server, so a mailbox migration, folder move or account recreation can change them and require a check. Test this on staging by running the import twice over a small folder and counting the records. Also review how messages that were already saved by users, through other inbound accounts or by forwarding, will appear, since UID checks do not catch the same message arriving through a different route.
Is the option to delete messages from the server after import safe to use?
It is safe only after you have verified the import and have a separate copy of the mail. Deleting from the server after import is an optional setting, and once it runs the source copy may be gone, so it should not be the first step in a load. Run the import without deletion, confirm a sample of records and attachments in SuiteCRM, and only then consider enabling deletion for a limited folder. Keep backups of the mailbox and the SuiteCRM database before any deletion step, and confirm the setting and its behavior in the SuiteCRM admin guide for your version.
What should a fixed-scope quote for this work include?
A fixed-scope quote should list the mailboxes and folders in scope, the date range, the number of group inbound accounts, the staging test cycles, the production load plan, the verification method and the handover documents. It should also state who provides mailbox access and sign-off, what happens when a folder fails, and what is excluded, such as attachment search tuning or retention policy design. Ask whether the quote is one-time or includes monitoring after the load, and whether any retest or re-run is priced separately. Because DeployOpen works from written scope, a clear list of assumptions is the most useful part of any quote.
How DeployOpen scopes and delivers a SuiteCRM email import
DeployOpen approaches a historical email import as a planned load, not a one-off script. We start by agreeing which group inbound accounts, folders and date ranges are in scope, then build, test and document the import so your team can run and check it. Engagements are fixed-scope, with the scope agreed in writing before work starts.
How we scope
- Confirm which group inbound accounts and monitored folders hold the customer email to be imported.
- Agree the date range, the message volume estimate and the target SuiteCRM records the mail should attach to.
- Record who owns the mailboxes, who approves the import and what counts as a successful load.
- Set the written scope, deliverables and timeline before any configuration or import work begins.
How we build
- Configure the group inbound accounts and the Check Inbound Mailboxes scheduler in a staging instance first.
- Set per-run limits and run a small trial load to confirm the import cursor moves back as expected.
- Test duplicate protection by message UID with a re-run over already imported folders.
- Check that scheduler runs finish within their windows before scaling the load to the full date range.
How we hand over
- Document each account, folder, cursor position and per-run limit used in the import.
- Provide a run log template so your team can record progress, errors and reruns.
- Walk your administrators through the optional unseen-only and delete-after-import settings and when to use them.
- Hand over a rollback and cleanup procedure for messages imported in error.
How we support
- Offer ongoing support and upgrades as a retainer after the import completes.
- Re-check scheduler performance and mailbox behavior if the import is paused, resumed or extended.
- Agree in the written scope which post-import checks and retesting are included and which are separate work.
- Confirm with your team how mailbox credentials and access are reviewed after the load finishes.

