I have a large number of emails stored in Thunderbird, and I need to convert them into different formats like PST, PDF, and EML. I am worried about losing attachments and metadata during the process. What is the safest method or tool to perform this conversion?