{"id":13714456,"url":"https://github.com/zapier/email-reply-parser","last_synced_at":"2025-04-11T06:28:06.943Z","repository":{"id":47656984,"uuid":"6502892","full_name":"zapier/email-reply-parser","owner":"zapier","description":":email: Email reply parser library for Python","archived":false,"fork":false,"pushed_at":"2022-10-17T05:44:54.000Z","size":76,"stargazers_count":476,"open_issues_count":18,"forks_count":118,"subscribers_count":63,"default_branch":"master","last_synced_at":"2024-04-14T04:45:35.113Z","etag":null,"topics":["featured"],"latest_commit_sha":null,"homepage":"","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/zapier.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}},"created_at":"2012-11-02T07:34:22.000Z","updated_at":"2024-04-12T17:25:14.000Z","dependencies_parsed_at":"2022-09-07T20:23:17.357Z","dependency_job_id":null,"html_url":"https://github.com/zapier/email-reply-parser","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapier%2Femail-reply-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapier%2Femail-reply-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapier%2Femail-reply-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapier%2Femail-reply-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapier","download_url":"https://codeload.github.com/zapier/email-reply-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601447,"owners_count":20964864,"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":["featured"],"created_at":"2024-08-02T23:02:00.030Z","updated_at":"2025-04-11T06:28:06.911Z","avatar_url":"https://github.com/zapier.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Email Reply Parser for Python\nA port of GitHub's Email Reply Parser library, by the fine folks at [Zapier](https://zapier.com/).\n\n## Summary\n\nEmail Reply Parser makes it easy to grab *only* the last reply to an on-going email thread.\n\nSay you'd like to parse out a user's response to your transaction email messages:\n\n```\nYes that is fine, I will email you in the morning.\n\nOn Fri, Nov 16, 2012 at 1:48 PM, Zapier \u003ccontact@zapier.com\u003e wrote:\n\n\u003e Our support team just commented on your open Ticket:\n\u003e \"Hi Royce, can we chat in the morning about your question?\"\n```\n\nEmail clients handle reply formatting differently, making parsing a pain. [We include tests for many cases](https://github.com/zapier/email-reply-parser/tree/master/test/emails). The parsed email:\n\n```\nYes that is fine, I will email you in the morning.\n```\n\n[![Build Status](https://secure.travis-ci.org/zapier/email-reply-parser.png?branch=master)](https://travis-ci.org/zapier/email-reply-parser)\n\n## Installation\n\nUsing pip, use command:\n\n```\npip install email_reply_parser\n```\n\n## Tutorial\n\n### How to parse an email message\n\nStep 1: Import email reply parser package\n\n```python\nfrom email_reply_parser import EmailReplyParser\n```\n\nStep 2: Provide email message as type String\n\n```python\nEmailReplyParser.read(email_message)\n```\n\n### How to only retrieve the reply message\n\nStep 1: Import email reply parser package\n\n```python\nfrom email_reply_parser import EmailReplyParser\n```\n\nStep 2: Provide email message as type string using parse_reply class method.\n\n```python\nEmailReplyParser.parse_reply(email_message)\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapier%2Femail-reply-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapier%2Femail-reply-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapier%2Femail-reply-parser/lists"}