Moving Mail.app Data from One Mac to Another
To transfer your mails from one Mac to another just replace the new Macs ~/Library/Preferences/com.apple.mail.plist file and ~/Library/Mail folder with the one from the old one.
Next time you start Mail on the new Mac you will be asked for each mail account's server password. If you don't know them anymore, look them up in ...