{"id":13994432,"url":"https://github.com/JoshData/convert-outlook-msg-file","last_synced_at":"2025-07-22T19:32:14.026Z","repository":{"id":30530789,"uuid":"125269545","full_name":"JoshData/convert-outlook-msg-file","owner":"JoshData","description":"Python library to convert Microsoft Outlook .msg files to .eml/MIME message files.","archived":false,"fork":false,"pushed_at":"2024-07-03T01:35:26.000Z","size":41,"stargazers_count":193,"open_issues_count":4,"forks_count":66,"subscribers_count":11,"default_branch":"primary","last_synced_at":"2024-11-20T03:38:06.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JoshData.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-03-14T20:25:27.000Z","updated_at":"2024-11-19T19:50:56.000Z","dependencies_parsed_at":"2024-10-30T06:37:04.326Z","dependency_job_id":null,"html_url":"https://github.com/JoshData/convert-outlook-msg-file","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/JoshData%2Fconvert-outlook-msg-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshData%2Fconvert-outlook-msg-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshData%2Fconvert-outlook-msg-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshData%2Fconvert-outlook-msg-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoshData","download_url":"https://codeload.github.com/JoshData/convert-outlook-msg-file/tar.gz/refs/heads/primary","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227166710,"owners_count":17740965,"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":[],"created_at":"2024-08-09T14:02:52.272Z","updated_at":"2024-11-29T16:31:22.880Z","avatar_url":"https://github.com/JoshData.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"Convert Outlook .msg Files to .eml (MIME format)\n================================================\n\nThis repository contains a Python 3.9+ module for\nreading Microsoft Outlook .msg files and converting\nthem to .eml format, which is the standard MIME\nformat for email messages.\n\nThis project uses\n[compoundfiles](https://pypi.org/project/compoundfiles/)\nto navigate the .msg file structure,\n[compressed-rtf](https://pypi.org/project/compressed-rtf/)\nand [rtfparse](https://pypi.org/project/rtfparse/)\nto unpack HTML message bodies, and\n[html2text](https://pypi.org/project/html2text/) to\nback-fill plain text message bodies when only an HTML body\nis present.\n\nInstall the dependencies with:\n\n    pip install -r requirements.txt\n\n(You may need to create and activate a Python virtual environment first.)\n\nThen either convert a single file by piping:\n\n\tpython outlookmsgfile.py \u003c message.msg \u003e message.eml\n\nOr convert a set of files:\n\n\tpython outlookmsgfile.py *.msg\n\nWhen passing filenames as command-line arguments, a new file with `.eml`\nappended to the filename is written out with the message in MIME format.\n\nTo use it in your application\n\n    import outlookmsgfile\n    eml = outlookmsgfile.load('my_email_sample.msg')\n    \nThe ``load()`` function returns an [EmailMessage](https://docs.python.org/3/library/email.message.html#email.message.EmailMessage) instance.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJoshData%2Fconvert-outlook-msg-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJoshData%2Fconvert-outlook-msg-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJoshData%2Fconvert-outlook-msg-file/lists"}