Anyone still raw-dogging Thunderbird should consider switching to Betterbird, which fixes a myriad of severely outstanding bugs (sometimes decade old) and adds the long-requested features (regex search anyone?).