Save email action in Microsoft 365 Outlook package

Use the Save email action in the Microsoft 365 Outlook package to save an email as an EML file to a folder. Ensure that you use this action within a Loop action.

Settings

  • In the Microsoft 365 Outlook session field, click one of the following tabs:
    • Session name: to enter the session name that you have used in the Connect action.
    • Variable: to specify a session variable that can be used to share that session with other child bots.
  • Enter the location where you want to save the email in Save emails to folder.

    The Save emails to folder is not case sensitive.

  • (Optional) In the Filename field, enter a name that you want to use to save the email.
    You can use the complete folder path to save the email. By default, if a filename is not provided, the email subject is used to save the email. The maximum number of characters that this field supports is 255 for both macOS and Windows. An error is displayed if the length of characters exceeds the limit.
    Note: The operating system limit for full file path (folder path + filename + extension) is as follows:
    • macOS - 1024 characters
    • Windows: 260 characters
    If the number of characters exceeds this limit, the filename is automatically truncated using the following formula:
    max filename length = max path limit - folder path length - extension length
  • (Optional) Clear the Overwrite file(s) check box if you do not want to overwrite any existing files in the folder.

    The Overwrite file(s) option is enabled by default.