IvaSoft logo

MostRecentEmail flow

Email IvaSoft
IvaSoft Power Automate Flows logo
Updated:
12 May 2025

Purpose

The MostRecentEmail flow automatically moves emails with a specific subject line from the Inbox to a designated folder, excluding the most recent email. The flow is compatible with any Office 365 user's personal mailbox.

MostRecentEmail flow overview diagram

Installation

  1. The flow uses the "Office 365 Outlook" connection. When importing the flow, use your existing connection or create a new one.
    Office 365 Outlook connection setup in Power Automate
  2. Download the "MostRecentEmail1.zip" file.
  3. Open Power Automate and import "MostRecentEmail1.zip" as a new flow, following the Power Automate documentation.
    Importing the flow ZIP file into Power Automate
  4. Enter the subject line used for email filtering into the "Compose Settings" action, as shown above [1].
  5. Select the destination folder in the "Move email (V2) - select the target folder here!" action as shown above [2].
  6. Modify the "When a new email arrives (V3)" trigger as shown below.
    Configuring the When a new email arrives trigger
  7. Turn on the flow.
    Turning on the flow

Testing

Scenario: Testing email handling for the subject "Supply Count".

Using any external mailbox:

  1. Send an email with the subject "Supply Count" and verify it arrives in the Inbox.
  2. Reply to this email from your Office 365 mailbox and verify your reply is delivered to the external mailbox.
  3. From the external mailbox, reply to your message.
  4. Verify the email with the subject "RE: Supply Count" arrives in the Inbox.
  5. Verify the flow moves the original "Supply Count" email from the Inbox to the target folder "SupplyCount".
MostRecentEmail flow testing scenario results

Freeware Notice

This product is freeware.
We do not provide technical support for it.

Support Pricing

If you require technical support, purchase at least one support unit and contact us. Support units are non-refundable.

PayPro Global logo
One Support Unit Price: $35.00
Order via PayPro Global  ORDER