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.
- In the Save emails to folder field, enter the location where
you want to save the email in.Note: 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 1019 for macOS and 250 for 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
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.
- Under Save format
field, select one of the following options:
- EML: To save an email in .eml format. This is selected by default.
- MSG: To save an email in .msg format
Note: For existing automations that use the Save email action, EML is the default save format..