MailSpecto
API and integrations 3 min read

How to prepare a CSV file for email verification

A well-prepared file means fast verification and results you can load straight back into your CRM. We show how to save a CSV from Excel and Google Sheets, which columns and delimiters are supported and what happens to duplicates and invalid rows.

MailSpecto Engineering Team

Mail infrastructure and deliverability

CSV file UTF-8, header Preview duplicates, errors Verification DNS, MX, SMTP Export your columns + result

1. File format

MailSpecto accepts a CSV file in which:

  • the first row is a header with column names;
  • the encoding is UTF-8 (the BOM that Excel adds is allowed);
  • the delimiter is a comma, semicolon, tab or pipe (|); if you do not specify it, it is detected automatically;
  • the file has at most 10,000 rows and 5 MB. Split a larger list into several files.
email,first_name,company
[email protected],Anna,Trading Company
[email protected],,Example Ltd

You can keep the other columns (name, company, CRM ID). They are not verified, but they go into the export, so you can easily match results to records in your system.

2. The email column

The email column is detected by its header name, e.g. email, e-mail, mail, email_address, email address. If it is called something else (e.g. primary_contact), point to it manually: in the panel when uploading the file, or with the email_column field in the API.

3. Saving from Excel and Google Sheets

Excel: File → Save As → CSV UTF-8 (Comma delimited). The plain "CSV (Comma delimited)" format saves the file in a legacy code page, and non-ASCII characters in other columns can break. Depending on regional settings, Excel may use a semicolon as the delimiter, which is fine.

Google Sheets: File → Download → Comma-separated values (.csv). Sheets always saves UTF-8.

Formulas and fields starting with "="

The results export protects against formula injection: cells starting with =, +, - or @ get a leading apostrophe so Excel does not run them as formulas. If your data contains such values on purpose, remove the apostrophe after importing into a spreadsheet.

4. What happens to problem rows?

RowWhat happensUses a credit
Empty lineSkippedNo
Empty address cellResult invalid / empty_emailNo
Bad syntax, e.g. [email protected]>Result invalid, often with a suggested fixNo
Duplicate (same address, regardless of case)Flagged is_duplicate, inherits the first occurrence's resultNo
Valid addressFull verification: DNS, MX, SMTPYes

Before the job starts, the panel shows a file preview: the number of rows to check, duplicates, empty and invalid rows, and suggested fixes. You can accept the fixes, skip invalid rows or run the file as is. The preview stores nothing and uses no credits (in the API: POST /api/v1/jobs/preview).

5. Results and export

The export contains all columns from your file plus columns with the verification result, including:

  • mailcheck_status: the main result (mailbox_exists, catch_all, domain_accepts_mail, risky, invalid, unknown);
  • mailcheck_reason_code: the specific reason;
  • mailcheck_is_disposable, mailcheck_is_role_account, mailcheck_is_duplicate: flags for filtering;
  • mailcheck_suggested_correction: a suggested typo fix.

You can download the whole file or only rows with a chosen status, e.g. only addresses to remove. How to handle each group afterwards is covered in Email list hygiene.

  1. Save the file as CSV UTF-8 with a header row.
  2. Name the column email or point to it when uploading.
  3. Keep the CRM ID so you can easily match results.
  4. Split lists larger than 10,000 rows into several files.
  5. Review the preview and accept suggested fixes before starting the job.

Keep your contact list clean

Verify email addresses before you send, and explore our upcoming SPF/DKIM/DMARC diagnostics module.

Try MailSpecto

MailSpecto Engineering Team

We build tools for email address verification, deliverability monitoring and mail infrastructure security diagnostics for companies in Poland and Europe.

Related articles

API and integrations

Email verification API – how to integrate validation into your app

Form validation patterns in Next.js, handling JSON responses and errors, and verifying whole lists through the API.

Read article →
Compliance

Article 24 of the Polish anti-abuse act – what public bodies must do about email

Who Article 24 of the Polish UZNKE covers, what it requires from public bodies and email providers, the new definition of a public entity from 3 April 2026, inspections by the UKE President, penalties and a checklist.

Read article →
SPF, DKIM and DMARC

DMARC reports – how to read them and move from p=none to p=reject

How to read DMARC aggregate reports (rua) and move step by step from p=none to p=quarantine and p=reject.

Read article →