Mail in Big Sur crashes upon launch if a Gmail account is enabled

Mail crashes immediately upon launch if my Google Mail account is enabled.

It launches normally if it is shut off.

Crash summary:

Code Block language
code-blockProcess: Mail [522]
Path: /System/Applications/Mail.app/Contents/MacOS/Mail
Identifier: com.apple.mail
Version: 13.0 (3645.0.6.2.3)
Build Info: Mail_App-3645000006002003~3
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Mail [522]
User ID: 501
Date/Time: 2020-06-24 00:44:27.974 -0600
OS Version: Mac OS X 10.16 (20A4299v)
Report Version: 12
Time Awake Since Boot: 54 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
dyld3 mode
* Terminating app due to uncaught exception 'NSRangeException', reason: '* -[__NSArrayI objectAtIndexedSubscript:]: index 3 beyond bounds [0 .. 2]'
terminating with uncaught exception of type NSException
abort() called




I have the same (read past the end of the array) bug.
I can open either of my @gmail.com accounts, but not both at the same time.
And, I can't open my @mac.com at all.


Same problem here. Disabling Google in the internet account did not help...
I have the same issue - how am I supposed to turn of GMAIL if it won't even launch Mail without crashing? I disabled them in Internet Settings but same issue. Oddly, I only have this issue on my iMac Pro not on my MacPro or MacBook Pro??
OK I just solved the issue on my Mac maybe it will work on yours??

I moved the LIbrary/Mail folder out of its place and placed it on the desktop then rebooted then launched Mail and it works fine. Hopefully this works for others.
Mail works fine on my iMac but crashes on my MacBook Pro when it tries to move emails in Gmail. Once I turn Gmail off the Mail app works fine. For now I will leave Gmail off since I only use it as a junk mail catchall.
Mail in Big Sur crashes upon launch if a Gmail account is enabled
 
 
Q