Mozilla Thunderbird problem

I have been using Thunderbird for months now and it's been fine. I tried to use iot today and had to set up a new account. I appear to have lost all my previous emails which I really need. Can I get them back? Where are they stored? Thanks in advance for any help.