Need Help: Move Email to Folder in Make.com (Microsoft 365 Outlook)

Hey everyone,

I’m trying to automate moving emails to a specific folder in Make.com using Microsoft 365 Outlook, but I keep running into a “Message ID is malformed (Error 400)” issue.

  • I need help correctly fetching and mapping the Message ID so the email moves properly.
  • Not sure if I’m missing a step in retrieving the right data from Outlook.

Has anyone set this up successfully? Any guidance would be really appreciated!

Thanks in advance! :rocket:

HI. I’ve got a scenario with the same exact feature which is working pretty well; Can you share (in PM if you want) the configuration of the module ?

Hello all! I ran into the same issue as I wanted to automate all emails with a certain string in the subject to be moved into a folder. Make wants the Email UIDs.. this took a while for me to find a solution. I created a new Scenario - called it “Move Emails” with the following:

Module - {Trigger} - [Email] Watch Emails - (Criteria set to All Emails) (Subject set to my keywords) (Mark as read when fetched to YES)
Running everyday at 5am to 5:48am in batches of 10
Module - [Flow Control] Router (Not necessary… I like to use incase I want to add on in future)
Module - [Flow Control] Array aggregator = (Source Module set to Email - Watch Emails [#]) (Target structure type = Custom) (Aggregated Fields = I selected Email ID (UID) and Subject) (Group by = 9. Email ID (UID) ~ from the Watch Emails…)
Module - [Email] Move an Email = Fill out your connection, source folder and destination folder. IMPORTANT in the (Email ID (UID) click the “Array” arrow to show the group and move the Email ID (UID) field over.
Save
Run Once - to test…

Works like a champ! I am sure this will work on all IMAP email connections.