New The MCP server is live: all 44 APIs in Claude, Cursor or any MCP client. Connect your agent

AI-powered email processing and data extraction

Email Parser API

Transform unstructured email data into actionable insights with our AI-powered Email Parser API. Extract key information, analyze content, and automate email processing workflows with ease.

Our Email Parser API is a robust solution that processes email content to extract structured data, including sender and recipient details, subject lines, message bodies, attachments, and metadata with enterprise-grade reliability.

Free tier included, no credit card required. One key works across every API.

At a glance

Email Parser API

25 credits / call
Free calls / month
40
Processing Speed
<2s
Data Fields
30+
File Formats
10+
Get your free API key

40 free calls on the free plan

Key features

  • Automate email processing and data extraction at scale
  • Extract structured data from email headers and content
  • Process email attachments including PDFs and documents
  • Multi-encoding support for international emails
  • Advanced metadata extraction and analysis
  • Integrate seamlessly with your existing workflows and applications

Built for

  • Customer support ticket automation
  • Email marketing analytics
  • Legal document processing
  • CRM data synchronization
  • Compliance and audit workflows
  • Business intelligence dashboards
  • Invoice and receipt processing
  • Lead generation and qualification

MCP · for your agent

Hand the Email Parser API to your agent

Connect Claude, Cursor or any MCP client once, then ask in plain words. Your agent finds this API, reads its docs and makes the call: 25 credits per call, the same as REST, from your team's balance.

Turn a customer email into a ticket

“Parse this forwarded customer email into a ticket: sender, date, order number and language, so it reaches the right queue.”

list_apis · get_api_docsfree

api_request POST /email-parser/v1/email/text 25 cr

+ Language Detection API1 cr

Sender, date, subject, clean body, order number and detected language, ready to file.

Untangle an email thread

“This raw email went back and forth between three teams. Show me its message ID, what it replies to and every recipient.”

list_apis · get_api_docsfree

api_request POST /email-parser/v1/email/text 25 cr

Message-ID, In-Reply-To and References headers plus every To and Cc address.

Pull invoice data from vendor emails

“A supplier sends invoices as plain-text emails. Parse this one, then pull the invoice number, total and due date.”

list_apis · get_api_docsfree

api_request POST /email-parser/v1/email/text 25 cr

+ Invoice Parser API25 cr

Sender and date from the email, plus invoice number, total and due date from its body.

$ claude mcp add --transport http apicodex https://mcp.apicodex.io

Illustrative asks; the calls and prices are real. Claude, Cursor, VS Code and Windsurf setup: mcp.apicodex.io

Try it

Build the request for your data

Edit the parameters below and see the exact request and curl command you'd send. No key required to preview.

POST /email-parser/v1/email/text
Open in Playground
Request · HTTP
POST /email-parser/v1/email/text HTTP/1.1
Host: api.apicodex.io
Content-Type: application/json
X-Api-Key: YOUR_API_KEY

{
"email": "From: [email protected]\nTo: [email protected]\nSubject: Test Email\n\nHello, this is a test email."
}
Response · JSON 200 OK
{
"subject": "Test Email for Email Parser API",
"from": [
  {
    "name": "John Doe",
    "address": "[email protected]"
  }
],
"to": [
  {
    "name": "Jane Smith",
    "address": "[email protected]"
  }
],
"cc": [
  {
    "name": "CC User",
    "address": "[email protected]"
  }
],
"bcc": [
  {
    "name": "BCC User",
    "address": "[email protected]"
  }
],
"date": "2025-05-12T09:00:00.000Z",
"message_id": "<[email protected]>",
"in_reply_to": "<[email protected]>",
"references": "<[email protected]>",
"priority": null,
"attachments": [
  {
    "filename": "test-document.pdf",
    "contentType": "application/pdf",
    "content": "%PDF-1.3\n...",
    "size": 430
  }
],
"html": "<!DOCTYPE html>\n<html>\n...",
"text": "Hello,\n\nThis is a test email...",
"headers": {
  "return-path": [
    {
      "value": [
        {
          "address": "[email protected]",
          "name": ""
        }
      ],
      "initial": "<[email protected]>"
    }
  ],
  "delivered-to": [
    {
      "value": [
        {
          "address": "[email protected]",
          "name": ""
        }
      ],
      "initial": "[email protected]"
    }
  ]
}
}

Documentation

Email Parser API Documentation

The Email Parser API provides comprehensive parsing and extraction of email data. This documentation outlines how to effectively integrate and utilize the API for processing email content, extracting attachments, and analyzing message structures.

Base URL

url
https://api.apicodex.io/email-parser

Authentication

Authenticate every request with your API key: send it in an X-Api-Key header, or pass it as an ?apikey= query parameter.

headers
{
"X-Api-Key": "YOUR_API_KEY"
}

Request and response

Illustrative values. Confirm current endpoint behavior, quotas, and data freshness in the API documentation before production use.

request · http
POST /email-parser/v1/email/text HTTP/1.1
Host: api.apicodex.io
Content-Type: application/json
X-Api-Key: YOUR_API_KEY

{
"email": "From: [email protected]\nTo: [email protected]\nSubject: Test Email\n\nHello, this is a test email."
}
response · json
{
"subject": "Test Email for Email Parser API",
"from": [
  {
    "name": "John Doe",
    "address": "[email protected]"
  }
],
"to": [
  {
    "name": "Jane Smith",
    "address": "[email protected]"
  }
],
"cc": [
  {
    "name": "CC User",
    "address": "[email protected]"
  }
],
"bcc": [
  {
    "name": "BCC User",
    "address": "[email protected]"
  }
],
"date": "2025-05-12T09:00:00.000Z",
"message_id": "<[email protected]>",
"in_reply_to": "<[email protected]>",
"references": "<[email protected]>",
"priority": null,
"attachments": [
  {
    "filename": "test-document.pdf",
    "contentType": "application/pdf",
    "content": "%PDF-1.3\n...",
    "size": 430
  }
],
"html": "<!DOCTYPE html>\n<html>\n...",
"text": "Hello,\n\nThis is a test email...",
"headers": {
  "return-path": [
    {
      "value": [
        {
          "address": "[email protected]",
          "name": ""
        }
      ],
      "initial": "<[email protected]>"
    }
  ],
  "delivered-to": [
    {
      "value": [
        {
          "address": "[email protected]",
          "name": ""
        }
      ],
      "initial": "[email protected]"
    }
  ]
}
}

Code examples

cURL
curl -X POST "https://api.apicodex.io/email-parser/v1/email/upload" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -F "[email protected]"

Endpoints

POST /v1/email/upload

Upload an .eml file to parse and extract information.

curl -X POST "https://api.apicodex.io/email-parser/v1/email/upload" -H "X-Api-Key: YOUR_API_KEY" -F "[email protected]"

POST /v1/email/text

Send raw email content to parse and extract information.

curl -X POST "https://api.apicodex.io/email-parser/v1/email/text" -H "Content-Type: application/json" -H "X-Api-Key: YOUR_API_KEY" -d '{"email": "From: [email protected]..."}'

Pricing

Email Parser API Pricing

This API costs 25 credits per request. Credits are shared across every API on your plan.

Cost estimator

requests per month → cheapest plan that covers it

Estimate your monthly cost

Drag the slider to match your expected request volume. We'll recommend the cheapest plan that covers it.

10,000

Recommended plan

Starter

$29.99 /month

Credits used
Credits included
Cost per 1K requests
Choose Starter

Free

Free
1,000 credits · ~40 requests/mo · 2 rps
  • All APIs included
  • No credit card required
  • Full documentation and examples
  • MCP server for your AI agents
  • Up to 5 active API keys
Start for free

Starter

Popular
$29.99 /month
50,000 credits · ~2,000 requests/mo · 10 rps
  • All APIs included
  • Email support
  • Usage dashboard and analytics
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Starter

Pro

$99.99 /month
250,000 credits · ~10,000 requests/mo · 25 rps
  • All APIs included
  • Priority support
  • MCP server for your AI agents
  • Up to 5 active API keys
Start with Pro

Need a different plan?

Tell us about your API, volume, or support requirements.

Contact us

FAQ

Frequently asked questions

Ready to integrate Email Parser?