cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Sort email in inbox

I would like to have the possibility to sort emails inside an inbox or any other folder or subfolder inside outlook.

When using the "Get email (V3)" I'm just able to retrieve the top message (that is the newest one).

But I need to get the oldest one.

Something like, using the SQL syntax, "order by asc".

 

My scope is to identify the oldest message in the box, that is the message with the oldest receivedDateTime field.

4 REPLIES 4
Highlighted
Super User III
Super User III

Re: Sort email in inbox

Why do you want to use a flow for this when you can just sort your inbox (or any other folder) by oldest on top?

 

0-Sort-email.png

 

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

 

Highlighted
Frequent Visitor

Re: Sort email in inbox

Hello, this is just one step on the flow. Scope of the whole flow is to archive email existing in a shared mailbox (a lot of mails already in it), extracting metadata end store them into a sharepoint list. i want do to do it by retrieving one mail at a time, starting from the oldest
Highlighted
Frequent Visitor

Re: Sort email in inbox

Once the oldest email has been archived i can delete it from the inbox, freeing space and continue with the new oldest one.
This is the simplest method that came into my mind to archive email, freeing the shared mailbox, without the risk to create duplicates in the sharepoint list. I could do it also starting from the newest one..... but i would prefer starting from the oldest one.
Highlighted
Frequent Visitor

Re: Sort email in inbox

Hi, Were you able to find a solution to this? Thanks

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,643)