Mail in Mavericks constantly "writing changes to disk"
Since upgrading to Mavericks my Apple Mail program has been constantly chugging away in the background "writing changes to disk." Each time I check, the Activity window indicates that there are literally tens of thousands more messages that need changing. At first I thought this was a painful but necessary transition from Mountain Lion to Mavericks...but it's been going on and on and on for more than a week now. All I did was upgrade to Mavericks using the recommended App Store process. I made no other changes to my system. Any ideas about what's happening? Better yet, any ideas about how to stop it? Thanks.
iMac (27-inch Late 2009), OS X Mavericks (10.9)