# Email Extraction

> Skill `email-extraction` on Faro. Free. 1 sub-skill.

Strip quoted history and reply chains from an email, returning just the new or relevant content as a verbatim slice of the input, plus a structured breakdown (new, quoted, attribution) with offsets back into the original. Stateless and extractive: nothing is rewritten, summarized, or retained. Free to use, with fair-use rate limits.

**Category:** Documents  
**Tags:** email, quoted-text, reply, parsing, tokens  
**Use when:** You have a raw email and want only the new reply, e.g. to cut token cost before feeding it to a model.  
**Not for:** Generating or summarizing email, parsing attachments, or fetching mail from a provider (you supply the body).  
**Returns:** information — Returns the cleaned body verbatim plus the method, a truncated flag, a version string, and new/quoted/attribution offsets into the input. Extractive only — never contains text that was not in the input. Not a downloadable file.

## How to run
Skills run through one gateway with your Faro token. Hand it an `intent` in plain language; Faro routes to the right sub-skill, runs it, and bills per call. Raw tools are internal plumbing and are not directly callable.

```
POST https://skill.askfaro.com/skills/email-extraction/run
Authorization: Bearer faro_<your_key>
Content-Type: application/json

{"intent":{"prompt":"Strip the quoted history from this email and return just the new reply."}}
```

Or from the CLI:

```bash
pip install askfaro-cli && askfaro auth login
askfaro run email-extraction "Strip the quoted history from this email and return just the new reply."
```

Full run reference: https://askfaro.com/llms/run.md — Agent recipe: https://askfaro.com/llms/skill.md

## Example requests

- Strip the quoted history from this email and return just the new reply.

## Sub-skills

### Extract from an email

Strips quoted history and replies, returning the new content verbatim with offsets.

**Cost:** Free

**Use when:** You have a raw email body and want just the new/relevant part, with the full thread removed.

**Details:** https://askfaro.com/llms/skills/email-extraction/extract.md

---

---
On the web: https://askfaro.com/search/email-extraction