disable global search in thunderbird to minimize profile folder

"If you have a IMAP account and disable offline folders it will use a
background process to download copies of the messages in all of your
folders."
http://kb.mozillazine.org/Minimize_the_size_of_a_profile