How to Automatically Export Sent and Received Emails to Excel
Question details
The user wants to automatically track and log sent and received emails into an Excel file to use as a timesheet or activity log.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Creating a weekly activity log or timesheet based on email history without manually tracking dozens of daily messages.
- Observed behavior
- The goal is to seamlessly capture message details like sender, recipient, subject, date, and time into a spreadsheet.
Ensure you have an active Microsoft 365 account with access to Power Automate, and prepare an existing Excel spreadsheet hosted on OneDrive or SharePoint with a formatted table to receive the incoming data.
Use Power Automate to Log Emails Directly to Excel
Create an automated workflow in Microsoft Power Automate to capture email metadata directly into an Excel Online table.
Power Automate (formerly Microsoft Flow) is the standard tool for connecting Outlook and Excel. By setting up a cloud flow, every new email sent or received will automatically trigger a new row of data in your designated Excel spreadsheet.
Open Excel online or via OneDrive, create a new workbook, and type column headers (e.g., Sender, Recipient, Subject, Date). Select these headers, press Ctrl+T, and check 'My table has headers' to format them as a Table.
Log in to Microsoft Power Automate, click 'Create' on the left sidebar, and select 'Automated cloud flow'.
Name your flow and search for the trigger 'When a new email arrives' (to track incoming) or 'When an email is sent' (to track outgoing). Select the appropriate Outlook connector and click Create.
Click 'New step', search for 'Excel Online (Business)', and select the action 'Add a row into a table'.
Select the location, document library, and specific Excel file and table you prepared earlier. Click into the new fields that appear and map them using Dynamic Content from the email (e.g., map 'From' to your Sender column, 'Subject' to Subject). Save and turn on the flow.

Log Emails to a SharePoint List and Sync to Excel
If you prefer centralized database management before exporting, log the emails to a SharePoint list first, then export or sync the results to Excel.
Analyze Your Exported Email Data with WPS Office
After automating your email exports with Power Automate, you need a fast and reliable spreadsheet tool to review and format your weekly timesheets. WPS Office provides a lightweight, highly compatible alternative to Microsoft Office, letting you analyze, filter, and summarize your tracked email data entirely for free.
- 1. Download and Install WPS Office: Get the free WPS Office suite from the official website and install it on your PC or Mac.
- 2. Open Your Exported Data: Launch WPS Spreadsheet and open the .xlsx file containing your automated email logs.
- 3. Filter and Analyze: Navigate to the Data tab and use the Filter tool to instantly isolate emails from a specific week to complete your timesheet.

Frequently Asked Questions
Can I filter the exported email data by specific dates or weeks?
Yes. Once the data is successfully logged in your Excel table, you can use standard spreadsheet filtering tools to view emails from a specific week or date range, which makes generating a weekly timesheet incredibly simple.
Does Power Automate work with non-Outlook email providers like Gmail?
Yes, Power Automate offers connectors for Gmail and other third-party email services. You can set up similar workflows to export messages from these providers to Excel, though some non-Microsoft integrations may require a premium Power Automate plan.
What should I do if my Excel table doesn't update immediately after an email is sent?
Automated cloud flows can sometimes take a few minutes to trigger and process, depending on server load and your specific Microsoft 365 plan. You can verify your flow's status by checking the 'Run history' inside your Power Automate dashboard to ensure there are no configuration errors.




