- implementation of outlook email dump tool#199
Open
bmerkle wants to merge 5 commits intomicrosoft:mainfrom
Open
- implementation of outlook email dump tool#199bmerkle wants to merge 5 commits intomicrosoft:mainfrom
bmerkle wants to merge 5 commits intomicrosoft:mainfrom
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. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Collaborator
|
How does this relate to #198? I think I saw stuff there that also appears here??? |
Contributor
Author
bmerkle
added a commit
to bmerkle/typeagent-py
that referenced
this pull request
Feb 19, 2026
- 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.)
Open
- added ms lib dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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