I have just downloaded El Capitan. I have a problem with Mail. It cannot connect to IMAP Gmail. Thus I cannot down load mail from gmail. However I can send emails through Gmail as it use a pop account for this. Also, if I try to change any of the settings og Gmail in the advanced section of the account, it asks for them to be saved which I do. When I go back into the account I see they are not saved. It shows 0 as the port number. If I enter 993 which I think is the correct port number, again it does not save it.
Has anyone any ideas.