API Codex
Email Parser API

Documentation

Endpoint:https://email-parser-api.p.rapidapi.com

Parse Email from File

POST
https://email-parser-api.p.rapidapi.com
/v1/email/upload

Parse an email from an uploaded .eml file

Parse Email from FileRequest Body

  • filestring · required

Parse Email from FileResponses

Successfully parsed email

  • subjectstring

    Email subject

    Example: Test Email
  • fromobject[]
  • toobject[]
  • ccobject[]
  • bccobject[]
  • datestring · date-time

    Email date in ISO format

    Example: 2025-06-10T08:47:41.000Z
  • message_idstring | null

    Email Message-ID header

    Example: <example123@mail.gmail.com>
  • in_reply_tostring | null

    In-Reply-To header

  • referencesstring | null

    References header

  • prioritystring | null

    Email priority

  • attachmentsobject[]
  • htmlstring | null

    HTML body of the email

  • textstring | null

    Plain text body of the email

  • headersobject

    Raw email headers


Parse Email from Text

POST
https://email-parser-api.p.rapidapi.com
/v1/email/text

Parse an email from raw text content

Parse Email from TextRequest Body

  • emailstring · required

    Raw email content in text format

    Example: From: sender@example.com To: recipient@example.com Subject: Test Email content

Parse Email from TextResponses

Successfully parsed email

  • subjectstring

    Email subject

    Example: Test Email
  • fromobject[]
  • toobject[]
  • ccobject[]
  • bccobject[]
  • datestring · date-time

    Email date in ISO format

    Example: 2025-06-10T08:47:41.000Z
  • message_idstring | null

    Email Message-ID header

    Example: <example123@mail.gmail.com>
  • in_reply_tostring | null

    In-Reply-To header

  • referencesstring | null

    References header

  • prioritystring | null

    Email priority

  • attachmentsobject[]
  • htmlstring | null

    HTML body of the email

  • textstring | null

    Plain text body of the email

  • headersobject

    Raw email headers