Zimlet to save email as eml files

Interested in talking about Mash-up's? This is the place.
msutherland
Posts: 15
Joined: Sat Sep 13, 2014 12:49 am

Zimlet to save email as eml files

Post 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
User avatar
JDunphy
Outstanding Member
Outstanding Member
Posts: 889
Joined: Fri Sep 12, 2014 11:18 pm
Location: Victoria, BC
ZCS/ZD Version: 9.0.0_P39 NETWORK Edition

Re: Zimlet to save email as eml files

Post 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. :-)
lfasci
Advanced member
Advanced member
Posts: 145
Joined: Mon Dec 09, 2013 2:38 am

Re: Zimlet to save email as eml files

Post by lfasci »

Try this zimlet https://www.zimbra.org/extend/items/view/folder-backup, it works for messages, folders and conversation

Bye
bisi
Posts: 21
Joined: Sat Sep 13, 2014 2:43 am
ZCS/ZD Version: many versions&clients from 6.x up

Re: Zimlet to save email as eml files

Post 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.
rholighaus
Posts: 8
Joined: Fri Apr 28, 2017 2:06 pm

Re: Zimlet to save email as eml files

Post 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
7224jobe
Outstanding Member
Outstanding Member
Posts: 283
Joined: Sat Sep 13, 2014 1:55 am
ZCS/ZD Version: 8.8.15_FOSS Patch38

Re: Zimlet to save email as eml files

Post by 7224jobe »

Hi, try asking to Zetalliance members: https://zetalliance.org/contact/
mgarbin
Posts: 35
Joined: Wed Jun 26, 2019 11:00 am

Re: Zimlet to save email as eml files

Post 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...
rholighaus
Posts: 8
Joined: Fri Apr 28, 2017 2:06 pm

Re: Zimlet to save email as eml files

Post 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?
User avatar
zimico
Outstanding Member
Outstanding Member
Posts: 225
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.8.15 P3
Contact:

Re: Zimlet to save email as eml files

Post 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.
User avatar
barrydegraaff
Zimbra Employee
Zimbra Employee
Posts: 242
Joined: Tue Jun 17, 2014 3:31 am
Contact:

Re: Zimlet to save email as eml files

Post by barrydegraaff »

--
Barry de Graaff
Email: barry.degraaff [at] synacor [dot] com
Admin of Zimbra-Community Github: https://github.com/orgs/Zimbra-Community/ and the
Zimlet Gallery https://gallery.zetalliance.org/extend/
Post Reply