You only want to import the local mailboxes from the last and most current version of Mail. In the past this was named Mailboxes. However if you only see alphanumberic numbering, look inside the folders for Outbox. This is the local "On My Mac" folder (Mailboxes). Select to Import from this folder.
[Note: If you had any POP accounts, you will want to import those as well. This will get the Inbox, Drafts, Sent messages. Any POP account you have added to Mail downloaded the messages from the Inbox. Your local Inbox could contain messages that were removed from the server. Your Sent and Draft messages would only be stored locally in your Pop default folders.]
V2 Names:
AosIMAP-xxx
IMAP-diane@xxx
Mailboxes
MailData
Delete all other Vx containers.
If you look in the older V folders, there should only be MailData. That does not contain any messages.