After I upgraded macOSX to a new version, when I open Mail, it will start importing emails. I don't want it to import emails. But I don't know where the previous login info is saved (so that I can delete it). Does anybody know?

  • Probably from your iCloud credentials.
    – lhf
    Nov 29, 2021 at 17:19
  • What have you tried so far? This shows absolutely no research or effort. Hint: Look in the prefs.
    – Tetsujin
    Nov 29, 2021 at 17:23
  • I will answer, but in the future if you search for an answer and then document that search we won’t answer with an article you already tried.
    – bmike
    Nov 29, 2021 at 17:24

1 Answer 1


Credentials on macOS are generally stored in the keychain.

Once you clean that up, you may need to remove the account from the mail app or system preferences. A special case is iCloud where that is a toggle in the iCloud portion of system preferences.

To remediate your situation, disconnect from the internet and then remove the accounts as described above. The act of launching the app with a configured account is what triggers the download. Or you could use the mailbox menu and take all accounts offline.

  • My problem with the question is that not only is it zero research, it's also an xy problem. You can just switch the account off, don't even need to find/delete the login info.
    – Tetsujin
    Nov 29, 2021 at 17:27
  • @Tetsujin. No. deleting the login won't work. When I open Mail, it must ask me to import a message. I don't even get a chance to delete any account. Nov 29, 2021 at 17:32
  • Where is it 'importing' messages from?
    – Tetsujin
    Nov 29, 2021 at 17:33
  • @bmike The 2nd link does not work for me. The "preference" is grayed out. For the first link, I don't want to delete everything in the keychain. But I don't see something specific to Mail. Nov 29, 2021 at 17:34
  • @Tetsujin When I click an email address on a webpage, Mail starts automatically and start importing messages. Nov 29, 2021 at 17:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .