Import SMTP/IMAP mailboxes from a CSV

Connect many SMTP/IMAP mailboxes at once by uploading the CSV you export from your cold email tool, and see which rows are ready before anything connects.

Use the CSV import when you have many mailboxes to connect. Export them from the cold email tool you use now, upload the file, and Doreach checks every row before it connects anything.

Open the import

  1. Open Outreach accounts.
  2. Select Connect mailbox.
  3. Keep SMTP/IMAP mailbox as the Provider.
  4. Select Import many mailboxes from a CSV.
  5. Select Choose a CSV file and pick your file.

The import link is on the Outreach accounts page, not in the first-time setup flow. A free trial includes one mailbox, so the import is for teams with more.

Doreach does not import Microsoft 365 or Outlook mailboxes from a file. Connect those with Sign in with Microsoft. Read connect your first account for each connection method.

Prepare the file

The first row of the file is a heading row. Every other row is one mailbox. Doreach ignores spaces, capital letters, underscores and hyphens in headings, so IMAP Host, imap_host and imap-host all match.

Each row needs these six values:

ColumnAccepted headings include
AddressEmail, Email Address, From Email
IMAP passwordIMAP Password, or Password when the file has no IMAP password column
IMAP hostIMAP Host, IMAP Server
IMAP portIMAP Port
SMTP hostSMTP Host, SMTP Server
SMTP portSMTP Port

These columns are optional. Doreach uses them when the file has a matching heading:

ColumnWhat Doreach does with it
First name and Last nameJoin them into the mailbox’s display name.
Sender nameUse it as the display name. It wins over first and last name.
IMAP usernameLog in to IMAP with it. Without it, Doreach uses the address.
SMTP usernameLog in to SMTP with it. Without it, Doreach uses the IMAP username.
SMTP passwordSend with it. Without it, Doreach uses the IMAP password.
IMAP encryptionPort 993 uses SSL and port 143 uses STARTTLS. For other ports, Doreach reads this column and uses SSL when it says nothing else.
Daily limitSet the mailbox’s emails per day, from 1 to 200. Without it, the mailbox starts at 20.

The display name is the name that the {{sender_full_name}} and {{sender_first_name}} tags fill in. A mailbox with no display name has none to fill in, so add a fallback to those tags. Read merge tags and spintax.

The file holds mailbox passwords. Delete it when you finish.

Review the file

When the file loads, Doreach shows its name. If the headings match a tool it knows, it says “Looks like a Smartlead export”, with that tool’s name. If it cannot find one of the six required columns, it asks you to pick the column that holds it from a list of your file’s headings.

Doreach then shows a summary, such as “12 new, 1 to reconnect, 3 skipped, 20 mailbox slots free”, and a table with one row for each mailbox. The Line column is the row’s line in your file, counting the heading row as line 1. Each row is either Ready or Skipped, and a skipped row gives the reason:

Reason shownWhat to do
A value is missing, such as “IMAP host is missing.”Fill in the cell and upload the file again.
”Address is not an email address.”Fix the address.
”IMAP port is not a number.” or “SMTP port is not a number.”Use a whole number, such as 993 or 465.
”Microsoft mailboxes connect with Microsoft sign-in. Choose Microsoft 365 or Outlook instead.”Connect that mailbox with Sign in with Microsoft.
”Same address as line 4.”Remove the repeated row. Doreach keeps the first one.
”Already connected.”Nothing. The mailbox is already in Doreach.

A row that says “Reconnects this mailbox with the details in the file.” is a mailbox you already have that needs reconnecting. Doreach reconnects it with the details in the file.

Select Choose another file to start again with a different file.

Check your mailbox slots

Each new mailbox uses one mailbox slot on your plan. Reconnects do not. The summary shows how many slots are free.

If the file has more new mailboxes than free slots, Doreach says “Only the first 5 new mailboxes fit your plan.” and offers an Add button, such as Add 3 mailboxes. It opens the plan dialog so you can see the price change before anything is charged. Without extra slots, Doreach imports only the first mailboxes that fit. Read add or remove connected accounts for how slots work.

Import the mailboxes

  1. Select the import button, such as Import 12 mailboxes.
  2. Keep the tab open while Doreach shows “4 of 12 done.”
  3. Read the result, such as “10 connected, 1 already connected, 3 skipped, 1 failed.”

Each row in the table ends as Connected, Already connected, Failed or Not sent. A failed row shows the reason the mailbox did not connect. A row is Not sent when the import stopped before it, for example when your plan has no mailbox slots left or is not active.

If you close the panel while the import runs, Doreach asks you to confirm. Mailboxes that already connected stay connected.

Fix the rows that failed

When any rows fail, you have two choices:

  • Select Retry failed to try those rows again, for example after you fix a password with your email provider.
  • Select Download failed rows to save them as mailboxes-to-fix.csv. Fix the file, then import it again. Mailboxes that already connected are skipped on the second run.

Select Done when you finish.

Set the sending limit

Each imported mailbox starts at the daily limit from your file, or at 20 emails a day when the file has none. If a limit cannot be saved, the mailbox connects anyway and keeps 20. The limit applies across every campaign that uses the mailbox. Open the mailbox’s Limits panel to change it. Read limits and pacing before you raise it.

Common questions

Which columns does a mailbox CSV need?
Each row needs the email address, the IMAP password, the IMAP host and port, and the SMTP host and port. Doreach matches columns by their headings. If it cannot find one of these, it asks you to pick the column that holds it. Names, usernames, the SMTP password, IMAP encryption and a daily limit are optional.
Can I import mailboxes from Instantly, Smartlead or another tool?
Yes. Doreach recognises the exports from Instantly, ReachInbox, Smartlead, PlusVibe, Woodpecker, Reply.io and Saleshandy and shows which one it thinks the file came from. A file from any other tool works too, as long as its headings say what each column holds or you pick the columns yourself.
Can I import Microsoft 365 or Outlook mailboxes from a CSV?
No. Microsoft mailboxes connect with Microsoft sign-in, so Doreach skips those rows and tells you to choose Microsoft 365 or Outlook instead. Connect them one at a time from the Connect mailbox panel.
How many emails a day will each imported mailbox send?
Each mailbox uses the number in the file's daily limit column, from 1 to 200. If the file has no daily limit, or the cell is not a number, the mailbox starts at 20 emails a day. You can change the limit later in the mailbox's Limits panel.
What happens to mailboxes that are already connected?
A mailbox that is already connected and healthy is skipped, so you cannot import it twice. A mailbox that needs reconnecting is reconnected with the details in the file, and it does not use another mailbox slot.