How to Verify a Converted Mailbox Has Every Email
Converted mailboxes that finish without errors are not proof that every email arrived. Counts and a short sample tell you in about ten minutes.
Quick AnswerVerify a converted mailbox in 3 ways on a Mac. Count every folder, sample messages and compare the CSV report. Counts catch missing mail. Samples catch damaged mail. CSV reports show which folder to examine first. Do all three before you delete the original file.
Most conversions that look wrong trace back to filters, caps or unticked folders rather than lost mail. Checks below show you which one you have.
Why Count Every Folder in a Converted Mailbox?
Note the item count for every source folder before you convert. Afterwards you compare those numbers with the converted mailbox, folder by folder. MacXTools PST Converter closes with a CSV report whose counts reconcile against the source, which gives you the second column of the comparison without extra work.
Totals across all folders of a converted mailbox hide problems. Two missing emails in the Inbox and two extra in Sent cancel out in a total and show up at once in a folder count.
How Do You Count Converted Mailbox Emails?
| Output format | What to count | Command in Terminal |
|---|---|---|
| MBOX | Separator lines that begin with From and a space | grep -c '^From ' mbox |
| EML | Files with the EML extension | find . -type f -name "*.eml" | wc -l |
MBOX counts assume the writer quoted body lines that begin with From. Unquoted variants can inflate the number, which the article on MBOX variants explains.
grep -c '^From ' ~/pst-out/Inbox/mbox
find ~/pst-out/Inbox -type f -name "*.eml" | wc -l
Why Is a Converted Count Lower Than Expected?
Trial cap. Trial mode in MacXTools converts up to 100 emails from every PST file. Expect a short count in trial mode.
Date range. Date filters remove everything outside the range on purpose. Clear the filter and convert again if you need the full history.
Other item types. Contacts and calendars export as their own formats so they never appear in an email count.
Unticked folders. Folders you did not tick are not converted. Open the folder tree again and look for gaps.
Deleted items. readpst leaves deleted items out unless you add the -D option. Other tools can do the same so check the settings of yours.
How Do You Sample Messages From a Mailbox?
Counts prove the quantity of a converted mailbox and say nothing about quality. Open about ten messages from it. Choose the oldest, the newest, the largest and a few from the middle of the date range.
- Open the message in Apple Mail or a viewer and confirm the sender, date and subject match the source.
- Confirm the body text and formatting appear. Include one message with accented or non Latin text.
- Open every attachment on the sampled messages. Attachments that open have survived.
How Do You Compare the CSV Report?
Open the CSV report in Numbers and set it beside your own tallies. Folder names and counts should agree line by line. Mismatches tell you which part of the converted mailbox to examine first so you spend time on one folder and not the entire mailbox.
Converting from a PST file? Our article on PST routes for Mac compares the options before you convert.
Which Mistakes Spoil a Mailbox Check?
Counting only the grand total is the most common mistake. Missing mail in one folder and extra mail in another cancel out so folder counts catch more problems than totals.
Counting before you note the source numbers is the second mistake. Note the source counts first, then convert, then count again. Comparing against memory proves nothing.
Deleting the original file too early is the third. Retain the source until the counts match and a sample of messages opens with attachments. Note the date of the check in your records so a later question has an answer.
What Should You Do When the Counts Disagree?
Convert one folder on its own and count again. Converting a single folder isolates the problem faster than a full export.
Try a second output format. If EML matches the source and MBOX does not, the difference comes from the separator count and not from lost mail.
Repair the source when the file is damaged. MacXTools reads healthy PST files only so a file that Outlook flags needs repair first. Contact the MacXTools team if the numbers disagree on a healthy file.
Common Questions
Should I Delete the PST File After Converting?
Not until you have counted the output and opened a sample. Retain the original file until both checks pass on the converted mailbox.
Why Is My Converted Count Lower Than the Source?
Check the trial cap of 100 emails for every PST file, then the date range, the item types, the unticked folders and the deleted items setting. One of those five explains most short counts.
Can a Damaged PST File Alter the Count?
Yes. MacXTools reads healthy PST files only so a file that Outlook flags needs repair first. Damaged sources can produce a short count that has nothing to do with the converter.
Do Contacts and Calendars Count as Emails?
No. Contacts and calendars export as their own formats so they never appear in an email count.
How Do I Count Emails in an MBOX File?
Enter grep with the c option and the pattern for a line that begins with From and a space, then the file name. You get the number of messages, as long as body lines were quoted.
How Many Messages Should I Sample?
About ten is a practical number. Spread them across the date range and include the largest message and one with attachments.
Does the CSV Report Prove Nothing Is Missing?
Counts for every folder appear in the report, which catches missing messages. Opened samples catch damaged ones so use both.
Sources
Every version, option and date above is taken from these pages and not from memory.