I am trying to move an email to another folder.
I am using Get Email by ID to retrieve the email (this part works).
For moving, I am using the Move Email activity.
I am not getting any error, but the email is not being moved to the desired folder.
it seems correct. try with a different folder, or delete and re-add the move email activity using latest mail package. check folder path is correct.
Happy Automation
Could you hover over the to email folder property and see what’s the datatype it accepts. As per documentation is accepting IResource and string might not work.
Click on the plus icon next to the property and see what options do you have there.
In the first instance, it worked.
Now I am getting the error: Get Email by ID: Id is malformed.
Is the Email ID supposed to be MailMessage.InternetMessageId or MailMessage.Message ID?
Currently, I am using MailMessage.InternetMessageId.
Thanks.
Was not this already working?
Your issue was with move email. And now both are not working?
per below article, you need to use MailMessage.Message ID
Its message id what you need to use
Now for move email click on plus icon which shows the folders in outlook and then select or click the folder you need
Cheers
Yes.
Now I am using Mail.Message-ID.
Instead of moving the email, it is creating a copy in the destination folder.
Seems I Found the issue.
Initially, I was using InternetMessageId, but this caused duplicate emails when moving items between folders.
I then tried with Mail.Message-ID. This worked for the first instance, but I noticed that the Message ID changes once the email is moved to another folder.
Because of this, you cannot rely on the same ID after the move — if you try to use it again, it will throw an error.
So the key point is:
- InternetMessageId → constant, but can lead to duplicates if used for moving.
- Mail.Message-ID → works, but changes after moving an email, so it cannot be reused.
whenever you move yes the ids changes thats why you have output for move as well which will give the new mail item which contains the new id
cheers


