IMAP Email Extractor: Export Mailbox Addresses to CSV
Export unique mailbox header addresses to CSV with EML Editor’s IMAP email extractor. Learn authorized setup, folder limits, result filters and safe handling.
Use EML Editor’s IMAP email extractor to collect unique addresses from message headers in a mailbox you own or are explicitly authorized to access. Choose the folders and message limit, review the results, then export a single-column CSV. This extracts addresses from existing messages; it does not export your address book or create complete contact records.
What the IMAP email extractor collects
The extractor requests message envelope data through IMAP. It reads address values from From, To, Cc, Bcc, Reply-To and Sender when the server provides them. It trims whitespace, converts addresses to lowercase and removes duplicates across the scanned messages. Completed results are sorted alphabetically.
Bcc addresses are included only when present in the available envelope data. The tool cannot recover hidden recipients that are absent from your stored copy. An address that appears in a message header is also not proof that it is current, deliverable or approved for marketing.
The scan does not search message bodies, signatures, attachments or websites. The CSV contains addresses only, without display names, subjects, timestamps, folder names or contact-history fields. If you need to open or edit an individual email file instead, use the guide to editing and opening EML files.
Prepare authorized mailbox access
IMAP connections run on EML Editor’s server, not directly from your browser. Entering credentials for Test Connection, Select Folders or an extraction sends them to the application server so it can authenticate to the mailbox. Use this only if your mailbox owner and organization permit that access.
The Password field is visible by default, rather than masked. Avoid screen sharing, screenshots and shared computers while entering it. Saved browser checkpoints can contain extracted addresses, progress and an account identifier, so mailbox-derived information may remain in browser storage.
Use the incoming IMAP settings documented by your mail provider. You need the IMAP host, port, required encryption mode, username format and an accepted password or app password. Do not substitute the outgoing SMTP server or its port.
For provider-documented implicit TLS, the usual IMAP port is 993: TLS encryption starts immediately when the connection opens. STARTTLS upgrades an initially unencrypted connection and is a different mode; it is not interchangeable with implicit TLS. 1
In this tool, Use TLS/SSL enables immediate TLS at connection setup. Prefer the provider’s documented implicit-TLS endpoint, normally port 993, with that setting on. Do not assume that choosing port 143 and turning the toggle on configures STARTTLS. Auto-detected settings also need checking against the provider’s documentation; a detected host does not prove that authentication will work.
The current extractor implementation does not verify IMAP server certificates. Enabling TLS therefore should not be treated as a guarantee of authenticated server identity. Use trusted provider endpoints and consider whether this limitation meets your organization’s security requirements before entering credentials.
Check account authentication requirements
The form accepts a username and password; it does not offer an OAuth sign-in flow. A provider preset fills connection settings but does not guarantee that the account permits password-based IMAP access.
Use a provider-issued app password when the provider requires one and your account allows it. Google’s app passwords require 2-Step Verification, and the option may be unavailable for some organizational, security-key-only or Advanced Protection accounts. Apple’s manual iCloud Mail instructions specify an app-specific password. 2 3 Follow your provider’s current instructions rather than weakening account security to make a connection succeed.
Connect and choose what to scan
- Open the mailbox address extractor. Choose a Provider preset or enter your provider’s documented IMAP Host and Port manually. Under Advanced Settings, confirm Use TLS/SSL matches the implicit-TLS settings you intend to use.
- Enter Email / Username in the format your provider requires, then enter the accepted credential in Password. Auto-detect Settings can suggest settings from an email address, but check the suggestion before proceeding.
- Click Test Connection. A successful test means the server connected, authenticated and listed folders. It does not certify that every folder or message will be accessible during extraction.
- Set Message Limit to Last 500, Last 1000, Last 5000 or All. The default is Last 1000. Start with a smaller limit and a narrow folder selection for an initial check.
- Use Select Folders to load the folder list, then tick at least one folder. For example, choose INBOX and your provider’s sent-mail folder if those fit your purpose. All Folders requests the available folder list rather than restricting the scan to INBOX.
- Click Extract Emails. If a previous-session banner changes the button label, Start New starts a fresh extraction. Watch the message count, current folder and unique-address count as results arrive.
For illustration only, a custom form might show imap.example.com as the host and user@example.com as the username. These are synthetic placeholders, not working connection details. Use your actual provider’s instructions when configuring your own authorized mailbox.
Understand the message limit and folder scope
The message limit is shared across the folders in the scan, not applied separately to each folder. The “Last” labels do not mean the latest messages across the entire mailbox sorted by date: the implementation selects a range near the end of each folder and processes folders in sequence. A limit reached in an earlier folder can leave later folders unscanned.
For a more controlled result, select one folder at a time. All removes the configured message cap, but it is not a guarantee of complete mailbox coverage. Inaccessible or problematic folders can be skipped, and server restrictions or connection failures can still affect the scan.
Filter mailbox addresses and export CSV
Once addresses appear, Filter results... narrows the list using a case-insensitive text match. For example, @example.com displays matching addresses from that synthetic domain. This filters addresses already collected; it does not change which messages the server scans.
Both CSV and COPY ALL use the currently filtered list. Clear the filter before exporting if you want every address collected in that run. COPY ALL places one address per line on the clipboard, without a header.
Click CSV to download a file with one column headed email. A synthetic export looks like this:
email
alex@example.com
billing@example.com
support@test.invalid
The download filename uses the source username and the extraction date in YYYY-MM-DD format. Open it in a spreadsheet or import it into a destination that accepts an email-only column. Review the list before sharing or reusing it; appearance in your mailbox does not establish permission for a new use.
CSV export is available while results are still arriving. Such a download is a snapshot, not the finished result. Stop interrupts the scan and leaves the addresses already received available for review and export; treat that list as partial. If a run is interrupted, use a smaller fresh scan when you need a controlled result rather than assuming the partial file covers the mailbox.
For a separate follow-up, the email provider checker accepts a CSV, text file or pasted addresses to identify mail providers. Provider identification is not confirmation that an individual mailbox exists or will accept mail.
Troubleshoot connection and missing-result problems
Authentication fails
Check the username format and whether the credential must be an app password. Confirm that your account permits this kind of IMAP access. If it requires OAuth or an administrator blocks password-based access, a preset cannot bypass that requirement. Follow the provider or administrator’s approved access method.
The host times out or refuses the connection
Recheck the incoming IMAP hostname, port and implicit-TLS setting. A webmail URL is not an IMAP hostname. Because the connection originates from EML Editor’s server, a mailbox reachable only from your computer, a private network or a local mail bridge may not be reachable by this tool. Do not turn encryption off merely to troubleshoot a failed login.
The list is smaller than expected
Check whether the message cap was reached before other folders were processed. Run the relevant folders separately, and remember that only the supported address fields are read. Addresses found solely in signatures or message text will not appear, and missing Bcc recipients cannot be reconstructed.
If a downloaded file is unexpectedly short, clear Filter results... and export again after the run finishes. A successful connection test or a finished progress display does not guarantee that inaccessible folders contributed results.