web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Email files saved on a...
Power Automate
Unanswered

Email files saved on a local drive need to be forwarded to a mailbox

(0) ShareShare
ReportReport
Posted on by 4

I am trying to automate the movement of 100s of emails stored in a OneDrive folder (C:\Users\XXX\OneDrive_xxx\Desktop\

ALLFY2023\FY2023\XXX)  to a group mailbox.  (smb_p_xxx@autodesk.com ).  The group mailbox has a cloud flow that saves the attachments to a SharePoint list whenever a new email with attachments is detected.  I can find lots of instruction on how to move multiple emails out of a mailbox, but not back into a mailbox.  Any suggestions would be appreciated.

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    If these are .msg files that are saved, there's not much you can do, other than use Run application to open each file, which should force Outlook to run, and then use the Outlook UI to forward it. But that is a bit of a pain to do.

     

    Alternatively, you could use scripting such as VBscript or PowerShell to do the same.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • lisasantoro Profile Picture
    4 on at

    That's what I was afraid of 🙂  Thanks for your quick reply!

     

  • LokeshBysani Profile Picture
    229 Super User 2024 Season 1 on at

    @lisasantoro  Let me know if you need help with the scripting. 

    if you are going with UI Approach then approach proposed by Agnius should work. 

  • lisasantoro Profile Picture
    4 on at

    It turns out that moving the .msg files into the group mailbox will trigger the automation to save them to SharePoint, so I don't need any further scripting for that.  However, I have another problem I don't know how to solve.  When the emails were moved to the OneDrive folder, the name of the .msg file was changed to follow a standard format : (Ex. "ABCco 12345 USD 5123.50.msg").  When I move the files into the mailbox, the Automation is set to pick up the Subject field, which is not the same as the file name anymore.  Is there any way to pick up the file name instead?

    Screenshot 2023-08-22 141808.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard