It is assumed that the Zoneminder is installed on your pc
First install dropbox on your computer using the Ubuntu software center .
Once the installation of Dropbox is finished Dropbox sync folder is created in the home folder. Please see the figure:2 below
The Zoneminder events are stored in the “events” folder at /var/cache/zoneminder.
Now we are going to make a symlink of /var/cache/zoneminder/events on the home directory and the cut and paste it in the Dropbox sync folder
Open the Ubuntu terminal and run
sudo ln -s /var/cache/zoneminder/events
If you open the home director , now the symlink of /var/cache/zoneminder/events can be seen as shown in the figure:-4 below
The cut events symlink folder and paste on the Dropbox sync folder .
If you open the events in the Dropbox sync folder, you will be able to see the events are syncing with the Dropbox cloud . Please see the Figure:-5 below
If you Launch the Dropbox website, the uploaded events can be seen as shown in the figure:-6 below
Now you can create a share link of event folder of the Dropbox website so that it can be send with zoneminder emails .