Power Automate Desktop | Emails and Outlook exercise | Get a list of emails in a folder and list out their senders

This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

Software ==> Power Automate Desktop  (18 exercises)
Version ==> Latest version
Topic ==> Emails and Outlook  (4 exercises)
Level ==> Harder than average
Subject ==> Power Automate training

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

Ever wondered who contributes the most to your junk mail?  Choose an Outlook folder to process:

Folder to process

This exercise invites you to write a flow to list out the senders of all the emails in a given folder.


Create a flow called Divide junk mail to read in the emails from your chosen Outlook folder, then loop over these adding the sender of each to a list containing strings of text (ie containing just the names of your email senders - this list will inevitably contain many duplicates).

Write this list out to Excel for further processing:

Start of list

Your Excel workbook should contain a list of senders of emails.


You could now (in Excel, not Power Automate Desktop) create a pivot table based on this column of senders to reveal your most persistent emailers:

List of senders counted

An example of what you might see at the top of your list of most persistent emailers.  Microsoft at number one is OK, but a finance company and a golf equipment company? For someone who doesn't play golf?

Save and close your flow, then start the laborious process of unsubscribing from email lists ...

You can unzip this file to see the answers to this exercise, although please remember this is for your personal use only. Our Power Automate exercises answers are provided as text files - you can see how to assemble these back into PAD flows here.
This page has 0 threads Add post