rewrote export, works now for SOGo as well as for Owncloud