API Codex
Email Parser API

Schemas


EmailAddress

  • namestring

    Display name of the email address

    Example: John Doe
  • addressstring

    Email address

    Example: john@example.com

Attachment

  • filenamestring

    Name of the attachment file

    Example: document.pdf
  • contentTypestring

    MIME type of the attachment

    Example: application/pdf
  • contentstring

    Base64 encoded content of the attachment

  • sizeinteger

    Size of the attachment in bytes

    Example: 1024

ParsedEmail

  • 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

Error

  • errorstring

    Error message

    Example: Invalid file type. Only .eml files are supported.

HealthResponse

  • messagestring · enum
    Enum values:
    OK

EmailTextRequest

  • emailstring · required

    Raw email content in text format

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