transferring email folders from old to new computer


New Email
I need to transfer my email folders from a Dell Inspiron 580S with windows 7 to a new dell Inspiron 3647 with windows 8.1. When I try the new messages don't get there or have numbers and letters for the name and subject.