Page 1 of 2

Zimlet to save email as eml files

Posted: Tue Feb 27, 2018 5:59 pm
by msutherland
For years I have been hoping that Zimbra owners/developers would provide an easy way to save individual emails which can the be stored with other files in traditional file systems. My users never stop complaining that it should be easy like Outlook. I have tried a number of zimlets over the years but most seem to be stuck to certain versions or have some other downside. Surely it is obvious that there is a strong need be able save individual emails simply from the web client? I know that .eml may not be an open standard, but it has the benefit of being well understood. Please, please can you address this major shortcoming

Re: Zimlet to save email as eml files

Posted: Mon Mar 26, 2018 10:54 pm
by JDunphy
Have you tried the one mentioned here - https://blog.zimbra.com/2016/11/know-downloader-zimlet/ It is close to what you mention. You have an Export button next to zimbra actions button for the user. Although the website link is not in english, the zimlet supports english and you can change button title to whatever you want since its just a text file. It does single or multi select and it will popup a save dialog with the emails having .eml extensions.

You could execute this directly to see how it would behave without installing the zimlet since it is generating the following request before your browser takes over.

Code: Select all

https://mail.example.com/home/user%40example.com/?fmt=zip&list=682820,682640&filename=ZimbraItems
where list contains your mail message[s] by id that you selected. Depending on your environment, an archive manager would normally pop up since it's a zip archive and at this point and you can save the zip file to disk or explore inside the zip file and traverse the folders and save from there. Hint: do a show original on any email message to grab a few message id's if you want to simulate the zimlet behavior before installing the zimlet.

It was working on 8.7.11 ... There are a ton of downloader zimlets mostly forked from the original so other than the export button, it works about the same. :-)

Re: Zimlet to save email as eml files

Posted: Tue Mar 27, 2018 7:39 am
by lfasci
Try this zimlet https://www.zimbra.org/extend/items/view/folder-backup, it works for messages, folders and conversation

Bye

Re: Zimlet to save email as eml files

Posted: Tue Apr 20, 2021 9:03 pm
by bisi
lfasci wrote:Try this zimlet https://www.zimbra.org/extend/items/view/folder-backup, it works for messages, folders and conversation
no longer works with 8.8.15

also does not do what OP wanted (although it would do what I am yet again looking for).

Just want to re-iterate the OP's plea to zimbra dev team -- this is so overdue as to be more like " WTF?! Do you actually have a feedback/management process?"

I have in the past resorted to setting up thunderbird for the task at hand. Really counter-productive when we are trying to provide what the user needs with native (or near-native) tools. But needs must when the Devil drives. And one of those things that keeps Zimbra less than stellar (or all its other advantages) for the end user.

Re: Zimlet to save email as eml files

Posted: Tue Apr 27, 2021 5:45 pm
by rholighaus
Is anybody willing to develop a simple right-click action zimlet that saves a message as a .eml file - against payment?

It really only needs to do the same as "message details" action but save it into a file named like the subject of the mail with ".eml" ending.

If yes, please pm me.

Cheers,
Ralf Holighaus
Schempp-Hirth Flugzeugbau GmbH
https://schempp-hirth.com

Re: Zimlet to save email as eml files

Posted: Wed Apr 28, 2021 9:37 am
by 7224jobe
Hi, try asking to Zetalliance members: https://zetalliance.org/contact/

Re: Zimlet to save email as eml files

Posted: Wed Apr 28, 2021 2:07 pm
by mgarbin
Right click on email -> Show original , save the page in .eml exten , quite simple.
If you need i can make a zimlet for it but it make no sense...

Re: Zimlet to save email as eml files

Posted: Wed Apr 28, 2021 6:29 pm
by rholighaus
You click on email -> Show original and a new tab opens with the message in source code. So far, so good.
If I click on "Save as.." and try to save by entering a file name, e.g. "test.txt" (in Chrome browser), the filename appears at the bottom, but with the commend "removed".
In Firefox this seems to work, however.

Has anybody any idea how to solve this?

Re: Zimlet to save email as eml files

Posted: Thu Apr 29, 2021 5:18 am
by zimico
Hi,
You can use below email downloader zimlet.
https://www.zimbra.org/extend/items/vie ... downloader

It will be downloaded as "2015-07-01-22-30-22_559469fea4293.zip", rename it as com_zimbra_emaildownloader.zip.

upload com_zimbra_emaildownloader to /tmp directory, change ownership to zimbra user and follow below steps to deploy the zimlet.

chown zimbra.zimbra /tmp/com_zimbra_emaildownloader.zip
su - zimbra
zmzimletctl deploy /tmp/com_zimbra_emaildownloader.zip
zmprov fc all
zmprov fc -a zimlet
zmmailboxdctl restart

Enable this zimlet in COS and then user can start to drag&drop a(or multi) message to the Downloader Zimlet in the Zimlet list.
This Zimlet only support Classic web.

Best regards,
Minh.

Re: Zimlet to save email as eml files

Posted: Wed May 18, 2022 6:10 am
by barrydegraaff