If you are like me and like to retain all your emails for ever (just in case), I wanted to archive by year but in the structure that they were stored i.e. retain the folder (structure) they were stored in but under the year they where created. I have accumulated a large number of emails which was effecting the performance of Thunderbird.
Mail Archive Structure

Note this has only has been tested on Thunderbird version 157.0.1 I cannot guarantee it will work on your version of Thunderbird
