I have several MBOX files exported from an old email client, and now I need to convert them into multiple formats like PST, EML, MSG, and PDF. I am mainly concerned about maintaining data integrity, folder structure, attachments, and email formatting during the conversion process. I tried a few manual methods, but they seem complicated and time-consuming. I am looking for a safe and reliable solution. Has anyone here successfully converted MBOX files without data loss? What would be the best and safest approach?
hey @Brantanson this is kind of a weird question for an n8n forum since MBOX conversion isn’t really a workflow automation thing, it’s more of a one-time data migration task. That said if you really wanted to do this in n8n you could probably parse the MBOX files with a Code node since MBOX is just concatenated email messages with "From " line separators, but honestly that’s overcomplicating it massively when there are dedicated tools for exactly this.
For bulk MBOX to EML/MSG/PST conversion I’d just use something like Aid4Mail or Mailstore Home (free for personal use), they handle the folder structure and attachments properly which is the annoying part to get right if you try to do it manually or script it yourself. The PST format especially is a pain because it’s a proprietary Microsoft format and getting the internal structure right for Outlook to read it properly isn’t trivial. If you only need EML output that’s actually pretty easy since EML files are basically just individual emails in standard RFC 822 format and you could extract those with a Python script, but if you need PST output specifically I’d really just pay for a proper conversion tool because the time you’ll waste trying to DIY it isn’t worth it.
Many tools are available in the market. You can take help from them.