Extract method to get IMAP folder
Clear disk cache
Support lately versions of Gecko