You can do it in both ways, by manual and with a professional tool (recommended). You can try
Migrate Cloud Data Mozilla Thunderbird Backup Tool. The manual method offers complete control but requires technical expertise and carries a risk of incomplete backups and data loss, making it less suitable for beginners. On the other hand, professional tools are beginner-friendly, reduce the risk of data loss, and offer advanced features. This tool backs up and migrates Thunderbird mailboxes, and it times into 15+ formats (PST, PDF, EML, EMLX, MSG, etc.) and multiple email clients (Yahoo Mail, Hotmail, Office 365, IMAP, Zoho Mail, etc.).