Mail 5 was working perfectly until I updated to 10.7.1. It started acting funky, where it would keep asking me for different smtp servers and such. I decided to delete the accounts and start from scratch, after the fiddling did not work. However, now it won't recognize my third party IMAP Gmail accounts (it will accept IMAP Gmail accounts). I input the username and password under system preferences > mail, contact, & calendars. Usually it "just works" but now only chat is recgonzied, but mail and calendars get this error: Mail couldn't discover the account settings for the Mail server xyz.org. Click Continue to continue to set up this account in Mail.app. I click continue and attempt to do it manually to no avail. Any suggestions? Bump.