Email Reply Parser is a deno port of Email reply parser node library to parse plain-text email replies and extract content
This library supports most email replies, signatures and locales.
This library is used at Crisp everyday with around 1 million inbound emails. Over the years, we improved this library so it can work with most emails.
- Strip email replies like
On DATE, NAME <EMAIL> wrote:
- Supports around 10 locales, including English, French, Spanish, Portuguese, Italian, Japanese, Chinese.
- Removes signatures like
Sent from my iPhone
- Removes signatures like
Best wishes
import { EmailReplyParser } from 'https://deno.land/x/email_reply_parser@X/mod.ts';
const email = new EmailReplyParser().read(MY_EMAIL_STRING);
console.log(email.getVisibleText());
email-reply-parser is released under the MIT License. See the bundled LICENSE file for details.