thunderbird / import-export-tools-ng

Import Export Tools that supports Thunderbird v68-v128
Other
284 stars 31 forks source link

Is it possible to export in such a hierarchical structure? #191

Open Rayerd opened 3 years ago

Rayerd commented 3 years ago

I want to export the email body and attachments to the same folder.

Before: 20201220-1125-Subject.txt \Attachments\attachment_file.txt

After: \20201220-1125-Subject\mail.txt \20201220-1125-Subject\attachment_file.txt

cleidigh commented 3 years ago

@Rayerd happy New Year's, still catching up, sorry for the delayed response. currently the structure you suggest above is not currently possible. as I understand it, your example wants to maintain both the e-mail and attachment together in one folder. This means that you have one folder for EVERY e-mail , is that really your goal? that which seems to be very inefficient. am I misunderstanding? Christoppher

Rayerd commented 3 years ago

Thank you for your reply. When I export multiple files in txt file style, the correspondence between the txt file and the attached files is lost. Also exporting with the eml file style is bad, because all zip files have a password. I don't want to unpack the same attached file multiple times :(

C:. │ 20210115-1711-SubjectA-Name1.txt │ 20210115-1810-SubjectB-Name2.txt │ 20210115-1920-SubjectC-Name3.txt │
├─Attachments │ AttachmentsA.zip │
├─Attachments-1 │ AttachmentsB1.zip │ AttachmentsB2.zip │ AttachmentsB3.zip │
└─Attachments-2 AttachmentsC.zip

DJCrashdummy commented 3 years ago

as an option, this seems to be interesting... i've got some folders containing hardly mails without attachments (e.g. invoices). so this wouldn't make much of a difference in this case, except it would be easier to match mail and attachments. as you can see in #234 i've also difficulties with matching attachments to mails.

...or in general a more flexible way of designing the resulting folder structure would be awesome, but i'm aware of it that this would make the import part even more complex. so if this advanced feature is considered at all, it would be more of a long term goal.