Uh oh!
There was an error while loading. Please reload this page.
Add outlook email dump tool - #199
Conversation
- it should work similar to gmail dump tool - currently tested only with test mail account (specifiy client-id, application-id, tenant-id) - added mail-example description - renamed gmail folder to mail - updated library dependencies
There was a problem hiding this comment.
Pull request overview
Adds Microsoft Outlook email dumping support alongside the existing Gmail dumper, consolidating “mail dump” tooling/docs and updating Python dependencies accordingly.
Changes:
- Introduces
tools/mail/outlook_dump.pyto download Outlook/Exchange messages via Microsoft Graph. - Adds/moves Gmail dumping script and adds a combined
tools/mail/README.mdplus a new end-to-end mail workflow doc. - Updates dependency lockfile and dev dependency set (adds
msgraph-sdk), plus related.gitignoreand.env-templateupdates.
Reviewed changes
Copilot reviewed 6 out of 9 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
tools/mail/outlook_dump.py | New Outlook/Graph-based .eml dump CLI (auth + permissions helpers + download). |
tools/mail/gmail_dump.py | Gmail .eml dump CLI added under the consolidated tools/mail/ area. |
tools/mail/README.md | New consolidated documentation for mail dump tools (Gmail/Outlook/Mbox). |
docs/mail-example.md | New “download → ingest → query” workflow doc referencing the mail tools. |
pyproject.toml | Adds msgraph-sdk to the dev dependency group. |
uv.lock | Lockfile updates reflecting new/updated dependencies. |
.gitignore | Adjusts ignored Gmail credential/token paths to tools/mail/. |
.env-template | Adds Outlook mail dump environment variable examples. |
docs/gmail.md | Removes the old Gmail-specific doc stub. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Guido van Rossum (gvanrossum)
commented
Feb 19, 2026
How does this relate to #198? I think I saw stuff there that also appears here??? |
- improve date parsing logic - add option for output-dir similar to gmail client - remove outlook-dump.py as this is handeled in microsoft#199 (copilot added the file arbitraritly, grrr.)
- added ms lib dependencies
- graph API permissions - setup of auth redirect url
Guido van Rossum (gvanrossum)
left a comment
There was a problem hiding this comment.
Thanks!
c97c1c8
into
microsoft:mainUh oh!
There was an error while loading. Please reload this page.
i have not tested this with my company account as API access is restricted there
i have tested it with a dummy subscription in my M365 developer cloud setup and it worked there seamlessly