If you have both computers configured for imap, the mailboxes should be identical on both - all messages will be there, although some will be marked as read. if you don't want to mark messages as read, change the settings in View > Reading pane > Options so messages are marked read when you read in the reading pane. If you are using a view to hide read messages, change to a view that shows all messages.