As you have Mountain Lion your best bet is to sign out in System Preferences>iCloud and then sign back in again, enabling Mail and any other data types you want synced in the checklist there. This should set Mail up properly for you. Your data will disappear when you sign out but will reappear when you sign back in.
The correct email settings are listed here:
but you shouldn't need to set them up manually.
I have the account in the mail app which is the first part of the battle, but now when i go to send emails it tells me that my outgoing server is incorrect so i add the outgoing server info from http://support.apple.com/kb/HT4864. i try to save the info and now its telling me that incoming server cannot be blank. but when i try to click on incoming server it is grayed out and wont let me edit.