{"id":18359014,"url":"https://github.com/ev2900/outlook_msg_parser_python","last_synced_at":"2025-04-10T03:14:05.696Z","repository":{"id":85139195,"uuid":"571613356","full_name":"ev2900/Outlook_MSG_Parser_Python","owner":"ev2900","description":"Python script to process emails saved with .msg file extension","archived":false,"fork":false,"pushed_at":"2025-03-30T01:09:08.000Z","size":37,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T03:14:01.509Z","etag":null,"topics":["email-parser","outlook","python","python-example-scripts"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ev2900.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-28T14:07:28.000Z","updated_at":"2025-03-30T01:09:12.000Z","dependencies_parsed_at":"2024-02-16T23:26:02.639Z","dependency_job_id":"bd5954e7-cf7a-4988-815e-243145d81748","html_url":"https://github.com/ev2900/Outlook_MSG_Parser_Python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ev2900%2FOutlook_MSG_Parser_Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ev2900%2FOutlook_MSG_Parser_Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ev2900%2FOutlook_MSG_Parser_Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ev2900%2FOutlook_MSG_Parser_Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ev2900","download_url":"https://codeload.github.com/ev2900/Outlook_MSG_Parser_Python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248148242,"owners_count":21055548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["email-parser","outlook","python","python-example-scripts"],"created_at":"2024-11-05T22:20:24.107Z","updated_at":"2025-04-10T03:14:05.690Z","avatar_url":"https://github.com/ev2900.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Outlook .msg File Python Parser\n\n\u003cimg width=\"85\" alt=\"map-user\" src=\"https://img.shields.io/badge/views-1800-green\"\u003e \u003cimg width=\"125\" alt=\"map-user\" src=\"https://img.shields.io/badge/unique visits-904-green\"\u003e\n\nEmail(s) saved with the .msg file extension are not human read-able when opened in a text editor. These files (.msg) are also difficult to process in Python using common text manipulation process ex. regular expressions. This repository has a python script that can parse all .msg files in a folder and can extract the following fields\n\n- SenderName\n- SenderEmailAddress\n- SentOn\n- To\n- CC\n- BCC\n- Subject\n- Body\n- Categories\n\nThe python script has several dependencies. The python library is required. [win32com](https://pypi.org/project/pywin32/). The [win32com](https://pypi.org/project/pywin32/) library is used to access ```Outlook.Application``` requiring you to have the outlook email client installed on the **windows** machine you run the Python script from.\n\nTo run the python script\n\n1. ```pip install win32com```\n2. Set the ```folderpath``` variable in the python script to the path of a folder with the .msg file you want to process\n3. Comment / uncomment the print statements you want / don't want depending on which properties of the email you want to show\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fev2900%2Foutlook_msg_parser_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fev2900%2Foutlook_msg_parser_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fev2900%2Foutlook_msg_parser_python/lists"}