Hello!
I'm building an app that requires me to delete the most recently sent email from a user's "Sent Items" Outlook folder. I've managed to extract the email ID of their most recently received email in their Inbox but need to do the same for their "Sent Items" so that I can reference the email and delete it.
This is what worked when I deleted the most recently received item in the inbox:
This works but, after switching the folderPath in the first line to "Sent Items", I am forced to switch the property in the second line since "DateTimeReceived" is specific to delivered items. I have tried labels like "SentOn", "DateTimeSent", "SentDateTime" but alas, not of them have worked. I'm pretty new to PowerApps so if someone knows the name of the property I'm trying to reference or knows how I can find its name, I'd be really grateful!
Thanks!