Move Message to IMAP Folder
The Move Message to IMAP Folder action moves or modifies email messages in IMAP folders. Use this to organize processed emails by moving them to specific folders or marking them as read/unread.
When to Use This Action
Use this action when:
- You want to file processed emails into organized folders automatically
- You need to mark messages as read or unread as part of your workflow
- You are archiving emails after creating tickets or taking other actions
This action is only available for Poller workflows. It supports both IMAP and Microsoft 365 connections.
Configuration
Move Message
| Field | Description |
|---|---|
| Move to Folder | The target folder path to move the message to. Supports text expressions with {{variable}} syntax. |
| Create folder if it does not exist | When enabled, creates the target folder if it does not already exist. |
Change Message Status
| Field | Description |
|---|---|
| Mark message as read | When enabled, marks the message as read. |
| Mark message as unread | When enabled, marks the message as unread. |
Returned Variables
This action does not return any variables.
Example Use Cases
Archive Processed Emails
Move successfully processed emails to a dated archive folder:
| Setting | Value |
|---|---|
| Move to Folder | Archive/{{date format="Y-m"}} |
| Create folder if not exists | Enabled |
| Mark as read | Enabled |
Organize by Processing Result
| Setting | Value |
|---|---|
| Move to Folder | Processed/{{custom.result}} |
Mark for Follow-up
Keep the email in the inbox but flag it for manual review:
| Setting | Value |
|---|---|
| Mark as unread | Enabled |
Notes
- For IMAP connections, modifications are queued and executed asynchronously
- For Microsoft 365 connections, the action uses the Graph API for immediate modification
- Folder names are case-sensitive on some mail servers