I have a flow where I am sending an email to a user (triggered from Power Apps). I'd like to upload a copy of this email as an .eml file to a SharePoint document library. I found that I can get an email attachment using the Export email (V2) action, but I can't seem to get the Message id from the email I just sent.
I think I could also forward the email to some sort of behind the scenes email address, trigger on When a new email arrives, and then Export email to add to the library, however it seems fairly inefficient.
Does anyone know how I can get the Message Id or of a more efficient way to export without using the second email address?