{"id":17610045,"url":"https://github.com/darnfish/email-forward-parser","last_synced_at":"2025-04-12T15:51:21.906Z","repository":{"id":181054953,"uuid":"665205594","full_name":"darnfish/email-forward-parser","owner":"darnfish","description":"Parses forwarded emails and extracts original content","archived":false,"fork":false,"pushed_at":"2023-12-01T20:05:25.000Z","size":106,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T10:21:16.017Z","etag":null,"topics":["email","forward","mail","parser"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/darnfish/email-forward-parser","language":"Go","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/darnfish.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":"2023-07-11T17:12:22.000Z","updated_at":"2024-05-14T09:38:36.000Z","dependencies_parsed_at":"2024-11-20T11:17:49.112Z","dependency_job_id":null,"html_url":"https://github.com/darnfish/email-forward-parser","commit_stats":null,"previous_names":["darnfish/email-forward-parser","darnfish/email-forward-parser-go"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darnfish%2Femail-forward-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darnfish%2Femail-forward-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darnfish%2Femail-forward-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darnfish%2Femail-forward-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darnfish","download_url":"https://codeload.github.com/darnfish/email-forward-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248591956,"owners_count":21130154,"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","forward","mail","parser"],"created_at":"2024-10-22T17:43:05.799Z","updated_at":"2025-04-12T15:51:21.883Z","avatar_url":"https://github.com/darnfish.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# email-forward-parser\n[![Go Reference](https://pkg.go.dev/badge/github.com/darnfish/email-forward-parser.svg)](https://pkg.go.dev/github.com/darnfish/email-forward-parser)\n[![Build and Test](https://github.com/darnfish/email-forward-parser/actions/workflows/test.yml/badge.svg)](https://github.com/darnfish/email-forward-parser/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/darnfish/email-forward-parser/branch/main/graph/badge.svg?token=P8KQD92JZH)](https://codecov.io/gh/darnfish/email-forward-parser)\n\nParses forwarded emails and extracts original content.\n\nThis is a Go port of [crisp-oss/email-forward-parser](https://github.com/crisp-oss/email-forward-parser).\n\n## Who uses it?\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://pickupapp.io/\"\u003e\u003cimg src=\"https://s3.darn.cloud/pickup/icons/256x256.png\" height=\"64\" /\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003ePickup\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## Installation\n```\ngo get \"https://github.com/darnfish/email-forward-parser\"\n```\n\n## Usage\n```go\nimport efp \"github.com/darnfish/email-forward-parser\"\n\nresult := efp.Read(body, subject)\n\nlog.Println(result.Forwarded) // true\n\nlog.Println(result)\n// {\n//   Forwarded: true,\n//   Message: \"Praesent suscipit egestas hendrerit.\",\n//   Email: {\n//     Body: \"Aenean quis diam urna.\",\n//     From: {\n//       Name: \"John Doe\",\n//       Address: \"john.doe@acme.com\"\n//     },\n//     To: [{\n//       Name: \"Bessie Berry\",\n//       Address: \"bessie.berry@acme.com\"\n//     }],\n//     CC: [{\n//       Name: \"Walter Sheltan\",\n//       Address: \"walter.sheltan@acme.com\"\n//     }],\n//     Subject: \"Integer consequat non purus\",\n//     Date: \"25 October 2021 at 11:17:21 EEST\"\n//   }\n// }\n```\n\n## Licence\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarnfish%2Femail-forward-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarnfish%2Femail-forward-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarnfish%2Femail-forward-parser/lists"}