Email Analysis Export#

The Email Analysis Export feature in Mailytica lets you export all the useful information that’s generated after Mailytica processes your emails.

It offers comprehensive insights such as AI classifications, data parsed from email content according to predefined rules, and other readily available information. This feature is designed to increase the accessibility and usability of your data by exporting this valuable information directly into external directories.

Essentially, it gathers all this data and exports it to an external location, in case you need to analyze it further or simply archive it.

Sharepoint / Ondrive Email Analysis Export#

  1. First, in Linked Accounts make sure that your email account is connected to your Mailytica project, and that the Email Analysis Export option has been set to Active.

    Linked Accounts settings
  2. Next, confirm that your SharePoint account is added to the Mailytica Account Manager. If it hasn’t been added, please refer to the section Connectors: SharePoint Account, for the necessary steps.

    SharePoint account in Mailytica's Account Manager
  3. Then, in Mailytica’s Online Platform, select Email Analysis Export from the left-side panel, and click on SharePoint / OneDrive Email Analysis Export from the top tab bar.

    SharePoint account in Mailytica's Email Analysis Export
  4. Afterwards, in the OneDrive / SharePoint Account section, choose the SharePoint account where you intend to export the email analysis files.

    Select SharePoint account
  5. In the Target Path field, specify the full path to the SharePoint or OneDrive folder where you’ll save the files, for example /Export. You can also add Mailytica variables using curly brackets {}, for instance /Export/{messageId}.

    Set SharePoint target path
  6. In the Format field, select the type of file format you prefer for the export. We recommend using JSON for the best results.

  7. Finally, set the Status to Active and click on Add to save your settings.

In the following example we’ll use the Mailytica Email Analysis Export feature with SharePoint/OneDrive. You’ll learn how to save your email analysis outcomes to a OneDrive folder and sort them by the date when the emails were received.

  1. First, create a date variable. Mailytica’s ReceivedOn metadata variable gives you a timestamp for each email. Use it to add a new Parsing Rule and create a date variable that shows the year, month, and day in the yyyy-mm-dd format.

    Set date parsing rule
  2. Then, go to the Email Analysis Export section on Mailytica’s Online Platform and select SharePoint / OneDrive Email Analysis Export.

  3. In the OneDrive / SharePoint Account dropdown menu, pick the account where you want to save the email analysis results.

  4. Next, set the Target Path. In this case, you can create a new Export folder in your OneDrive. Then, by using the date variable in this format /Export/{date}, you can easily organise all the results by the date when the emails were received.

    Set export path
  5. Select JSON as the preferred file Format, as it’s easier to work with.

  6. To start the export, switch the status to Active and click Add.

Afterwards, each time Mailytica processes a new email, it’ll automatically save the results of the analysis (as analysis.json) to your OneDrive Export folder.