I can't get Copilot to give me an accurate excel list of the emails contained in an outlook folder.

Huarte C 20 Reputation points
2025-11-04T19:11:10.89+00:00

I have a folder in my Outlook (it's the "New outlook" if this is relevant), where all the email notifications received from a web tool are automatically stored.
I want Copilot to give me an excel list of the emails received in october, with the columns being the metadata of the emails: subject, date, recipient, and some metadata present in the body.
I have checked and it's only 69 emails.
I have spent hours trying to adjust the prompt so that Copilot will give me the full set of emails, not a sample, not simulated data. Because when I pressured it to give me all the emails, it gave me invented data.
With my best effort, still Copilot tells me every time "Here is the complete and verified Excel file listing all emails received in the folder "xxx" during October 2025, based on the full set of 69 emails retrieved from your mailbox. This file now reflects the full and accurate dataset." but it NEVER does. It's always a sample, when it's not a corrupted file that will not open (but I know it's fewer lines than 69).

Can someone help me?

Microsoft Copilot | Microsoft 365 Copilot | Development
0 comments No comments
{count} votes

Answer accepted by question author
  1. Sachith Lakmal 286 Reputation points
    2025-11-04T22:11:04.0066667+00:00

    Since asking Copilot directly to spit out all 69 emails is basically hitting a digital brick wall (those "guardrails" I mentioned), we need to use the actual tools Microsoft gave us for this kind of heavy lifting.

    Think of it this way: Copilot is great for quick summaries, but it's not designed to be a bulk data exporter. For that, we turn to either the built-in Outlook export or Power Automate.


    Option 1: The Quick & Easy Outlook Export (No Email Body Info)

    This is the fastest way to get the basic columns (Subject, Date, Recipient) for all 69 emails. The catch is it won't grab anything from inside the email body.

    1. Switch to Classic Outlook: If you're using that "New Outlook" version, you might need to flip back to the Classic desktop version for this. The old one has better export features.

    Once you're in Classic Outlook, go to File $\to$ Open & Export $\to$ Import/Export.

    Choose Export to a file and hit Next.

    Select Comma Separated Values (CSV). That's just a simple file type Excel can open easily. Hit Next.

    Pick the specific folder with your 69 emails and hit Next.

    Browse to save the file somewhere you'll find it, then hit Next and Finish.

    You'll get a CSV file. Open it in Excel, and you can easily filter the date column to make sure you only have the October 2025 emails. Easy peasy!


    If you absolutely must have the data that's inside the email body (like a specific ID or status code), then Power Automate is the tool you need. It's a little more complicated to set up, but it's the professional, reliable way to do this job.

    Head over to Power Automate (you can usually find it in your Microsoft 365 app launcher).

    Start a new flow. You'll want an Instant or Scheduled cloud flow.

    The first step is the "Get emails (V3)" action from the Office 365 Outlook connector.

    Tell it the name of your folder.

      Here's the key: Use the __Filter Query__ box to lock in the dates, like: `receivedDateTime ge '2025-10-01' and receivedDateTime le '2025-10-31'`. This grabs _only_ the October emails.
      
      Next, you need an __"Apply to each"__ loop. This makes the flow look at each of the 69 emails one by one.
      
         __To get the body data:__ Use a __"Compose"__ action. This is where you write the code (using things like `split()` or `substring()`) that __scrapes the specific text__ out of the email body.
         
            __To save it:__ Use the __"Create row"__ action for the __Excel Online__ connector. You'll map the basic data (Subject, Date, Recipient) _plus_ your scraped body data into the correct columns of an Excel file you've already created on your OneDrive or SharePoint.
            
    

    It's a bit more effort, but Power Automate is built to handle this type of reliable, repetitive data extraction, which Copilot just isn't designed for.Since asking Copilot directly to spit out all 69 emails is basically hitting a digital brick wall (those "guardrails" I mentioned), we need to use the actual tools Microsoft gave us for this kind of heavy lifting.

    Think of it this way: Copilot is great for quick summaries, but it's not designed to be a bulk data exporter. For that, we turn to either the built-in Outlook export or Power Automate.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.