{"id":16360387,"url":"https://github.com/mike42/mail2csv","last_synced_at":"2025-04-13T16:31:54.414Z","repository":{"id":147744466,"uuid":"138512631","full_name":"mike42/mail2csv","owner":"mike42","description":"Export email messages in a Maildir as CSV file","archived":false,"fork":false,"pushed_at":"2018-06-24T20:19:01.000Z","size":2,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-11T02:11:41.828Z","etag":null,"topics":["csv","email"],"latest_commit_sha":null,"homepage":null,"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/mike42.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":"2018-06-24T20:18:38.000Z","updated_at":"2024-04-16T07:09:52.000Z","dependencies_parsed_at":"2023-05-27T09:15:07.934Z","dependency_job_id":null,"html_url":"https://github.com/mike42/mail2csv","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/mike42%2Fmail2csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mike42%2Fmail2csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mike42%2Fmail2csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mike42%2Fmail2csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mike42","download_url":"https://codeload.github.com/mike42/mail2csv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223597069,"owners_count":17170872,"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":["csv","email"],"created_at":"2024-10-11T02:11:20.003Z","updated_at":"2024-11-07T22:06:30.315Z","avatar_url":"https://github.com/mike42.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mail2csv\n\nThis command-line utility converts the contents of a `Maildir` to a CSV file. Each header becomes a CSV column, and each email becomes a row.\n\n```\n$ mail2csv example/\nDate,Subject,From\n\"Wed, 16 May 2018 20:05:16 +0000\",An email,Bob \u003cbob@example.com\u003e\n\"Wed, 16 May 2018 20:07:52 +0000\",Also an email,Alice \u003calice@example.com\u003e\n```\n\nBy default, only `Date`, `Subject` and `From` headers are shown. Use `--headers` to specify which other headers to include, and `--all-headers` to include them all.\n\n## Requirements\n\n- Python 2 or 3.\n\n## Installation\n\n```\ncp mail2csv.py /usr/local/bin/mail2csv\n```\n\n## Full usage\n\n```\nusage: mail2csv.py [-h] [--outfile OUTFILE] [--headers HEADERS [HEADERS ...]]\n                   [--all-headers]\n                   maildir\n\nConvert maildir to CSV.\n\npositional arguments:\n  maildir               Directory to read from\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --outfile OUTFILE     File to output to. Standard output is used if this is\n                        not specified\n  --headers HEADERS [HEADERS ...]\n                        Headers to include\n  --all-headers         Include all headers. Alias for --headers '*'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmike42%2Fmail2csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmike42%2Fmail2csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmike42%2Fmail2csv/lists"}