Skip to main content

Move Email

Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

Move Email action allows you to move an email message to another folder and set its read status. This command gives you the flexibility to not only relocate emails but also manage their read/unread status simultaneously.


Parameter Values

Input parameters

Parameter

Description

Possible Values

Required

Options / Notes

Email message

Select the mail message to process

Yes

You can select a specific email message variable

Move option

Specify where you want to move the email

Move; Move & Mark as unread; Move & Mark as read

Yes

Controls both the move action and the read status

Mail folder

Enter the name of the folder to move to

Yes

Specify the destination folder name

Error handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will trigger an error and stop the execution of the entire app.

Retry command

If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process.

Ignore error & continue

When an error occurs, the action will be ignored, and the workflow will continue without interruption.

Variables produced

This action doesn't produce any variables.


Using Variables in Conditions

You can use variables for any parameter in this command by clicking the {x} icon next to the parameter field. This allows you to dynamically specify the email message to move or the destination folder based on previously defined variables in your workflow.

For example, you might use a variable for the "Mail folder" parameter if you want to determine the destination folder based on email content or other workflow conditions.


Notes

  • Before using this command, ensure that you have properly authenticated and connected to the email account.

  • The email message parameter should be a valid email object, typically obtained from a previous "Get Email" or similar command.

  • Folder names are case-sensitive and must match exactly as they appear in the email system.

  • If the specified destination folder doesn't exist, the command will fail unless error handling is set to ignore errors.

  • This command works with most email providers that support folder operations, including Outlook, Gmail, and other IMAP/POP3 services.

Did this answer your question?