Move Mail Activity
The Move Mail activity enables users to transfer email messages to specified folders on a mail server. This activity facilitates email organization by relocating messages based on their unique identifiers.
| Field | Description | Requirement |
|---|---|---|
| Entry Id | Specifies the unique identifier for the mail item to be moved. This ID is typically obtained from the first column of a dataset generated by a Search activity. | Required |
| Folder name | Defines the destination folder where the mail item will be moved. Use a forward slash (/) to specify subfolders (e.g., Inbox/Subfolder). The folder must exist on the mail server. | Required |
| Email Address | Provides the specific email address to target if multiple accounts are configured (e.g., in Outlook). If left blank, the default account is used. | Optional |
Action Types & Examples
Entry Id
- Format:
string - Example Result:
AQMkADk2N...
Folder name
- Format:
string - Example Result:
Inbox/Robusta/RPA
Implementation Examples
Field Setup - Entry Id: AQMkADk2N... - Folder name: Archive/Processed - Email Address: automation@example.com
Execution Parameters - Activity: Move Mail - Properties: - EntryId: "AQMkADk2N..." - FolderName: "Archive/Processed" - EmailAddress: "automation@example.com"
Technical Notes
The
Folder nameparameter supports hierarchical folder structures. Use a forward slash (/) to delineate subfolders within the path (e.g.,ParentFolder/Subfolder/TargetFolder). Ensure the specified folder path exists on the mail server; otherwise, the activity will fail. TheEntry Idis a unique, server-generated identifier and is crucial for precisely targeting the mail item.