{
  "slug": "email-reply-cleaner",
  "name": "gizza-ai/email-reply-cleaner",
  "version": "0.1.0",
  "title": "Email Reply Cleaner — Strip Quotes, Reply Chains & Signatures | gizza.ai",
  "description": "Paste a replied or forwarded email and get just the fresh message — quoted lines, the reply chain, and signatures removed. Toggle each pass. Runs in your browser.",
  "tags": [
    "email",
    "reply",
    "quote",
    "signature",
    "text"
  ],
  "category": "network",
  "urls": {
    "page": "https://gizza.ai/tools/email-reply-cleaner/",
    "markdown": "https://gizza.ai/tools/email-reply-cleaner/index.md",
    "descriptor": "https://gizza.ai/tools/email-reply-cleaner/tool.json",
    "deep_link_example": "https://gizza.ai/tools/email-reply-cleaner/?text=Paste%20the%20replied%20or%20forwarded%20email%20here%E2%80%A6&remove_quotes=true&remove_reply_chain=true&remove_signature=true&collapse_blank_lines=true"
  },
  "cli": "gizza tool email-reply-cleaner \"Paste the replied or forwarded email here…\"",
  "tool": {
    "description": "Extract just the fresh message from a replied or forwarded plain-text email. Four deterministic passes, each toggleable: `remove_quotes` drops `>`-prefixed (and nested `>>`) quote lines; `remove_reply_chain` cuts the attribution ('On … wrote:'), Outlook '-----Original Message-----' / 'From:' header block, or a forwarded-message rule and everything below; `remove_signature` cuts the RFC 3676 '-- ' delimiter or a mobile/app footer ('Sent from my iPhone', 'Get Outlook for …') and everything below; `collapse_blank_lines` folds blank-line runs and trims the edges. All default on. English-focused attribution detection; runs locally, no network.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "collapse_blank_lines": {
          "default": true,
          "description": "Collapse runs of blank lines to a single blank line and trim leading/trailing blank lines. Default true.",
          "type": "boolean"
        },
        "remove_quotes": {
          "default": true,
          "description": "Drop lines that begin with the `>` quote marker (including nested `>>`). Default true.",
          "type": "boolean"
        },
        "remove_reply_chain": {
          "default": true,
          "description": "Cut the quoted reply chain: the attribution ('On … wrote:'), Outlook '-----Original Message-----' / 'From:' header block, or a forwarded-message rule, and everything below it. Default true.",
          "type": "boolean"
        },
        "remove_signature": {
          "default": true,
          "description": "Cut the signature block: the RFC 3676 '-- ' delimiter or a mobile/app footer ('Sent from my iPhone', 'Get Outlook for …'), and everything below it. Default true.",
          "type": "boolean"
        },
        "text": {
          "description": "The replied or forwarded plain-text email to clean. Paste the whole body; the tool returns just the fresh message.",
          "type": "string"
        }
      },
      "required": [
        "text"
      ],
      "type": "object"
    }
  }
}