private void btnZipAndMailTo_Click(object sender, RoutedEventArgs e)
        {
            var paths = DocumentsForMail.Where(x => !String.IsNullOrEmpty(x.Path)).Select(x => x.Path).Distinct().ToList();

            if (paths.Count() < 1)
            {
                MainWindow.ErrorMessage = ((string)Application.Current.FindResource("OdaberiBarJedanDokumentUzvicnik"));
                return;
            }

            try
            {
                List <string> completedPaths = new List <string>();


                var azureClient = new AzureDataClient();
                foreach (var item in paths)
                {
                    var file = azureClient.GetFile(item);

                    var localPath = azureClient.DownloadFileToOpen(file, (progress, total) => { });
                    completedPaths.Add(localPath);
                }



                System.Windows.Forms.FolderBrowserDialog folderBrowser = new System.Windows.Forms.FolderBrowserDialog();
                var result = folderBrowser.ShowDialog();

                if (result == System.Windows.Forms.DialogResult.OK)
                {
                    var path = ZipFileHelper.MakeArchiveFromFiles(completedPaths, folderBrowser.SelectedPath);

                    if (!String.IsNullOrEmpty(path))
                    {
                        try
                        {
                            string outlookPath = AppConfigurationHelper.Configuration?.OutlookDefinedPath ?? "";
                            Process.Start($"{outlookPath}", $"/a \"{path}\" /c ipm.note ");
                        }
                        catch (Exception error)
                        {
                            MainWindow.ErrorMessage = ((string)Application.Current.FindResource("OutlookNijeInstaliranIliNijePovezanUzvicnik"));
                        }
                    }
                }
            } catch (Exception ex)
            {
            }
        }