> ## Documentation Index
> Fetch the complete documentation index at: https://developer.mailbeast.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an email

> Fetch one email with its body – the only endpoint that returns the body. A `null` body means none was stored; if the stored body can't be read right now the call returns `503` rather than a false empty.

Requires one of the following scopes: `emails:read`, `emails:all`, `all:read`, `all:all`.



## OpenAPI

````yaml /openapi.json get /v1/emails/{id}
openapi: 3.0.0
info:
  title: MailBeast Public API
  description: >-
    Task-shaped REST API for campaigns, leads, deliverability, verification and
    lead discovery. Authenticate with an API key (`Authorization: Bearer
    mb_live_…`); the workspace is resolved from the key.
  version: '1'
  contact: {}
servers:
  - url: https://api.mailbeast.ai
security: []
tags:
  - name: API Keys
    description: Create, list and revoke API keys programmatically.
  - name: Campaigns
    description: Create, configure, launch and monitor email campaigns.
  - name: Leads
    description: Add, read, update and bulk-manage a campaign’s leads.
  - name: Workspace
    description: Read usage, subscription and workspace identity.
  - name: Email Accounts
    description: >-
      Connect and manage the sending mailboxes your campaigns send from
      (SMTP/IMAP or native OAuth).
  - name: Analytics
    description: Engagement reporting – per campaign, over time, and across the workspace.
  - name: Lead Finder
    description: >-
      Discover new companies and leads. List past searches and poll a running
      search’s progress.
paths:
  /v1/emails/{id}:
    get:
      tags:
        - Emails
      summary: Get an email
      description: >-
        Fetch one email with its body – the only endpoint that returns the body.
        A `null` body means none was stored; if the stored body can't be read
        right now the call returns `503` rather than a false empty.


        Requires one of the following scopes: `emails:read`, `emails:all`,
        `all:read`, `all:all`.
      operationId: emails_getOne
      parameters:
        - name: id
          required: true
          in: path
          schema:
            format: uuid
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailDetailApiDto'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorDto'
              example:
                error:
                  type: authentication_error
                  code: unauthenticated
                  message: Missing or invalid API key.
                  status: 401
                  requestId: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
        '403':
          description: >-
            The key lacks a required scope, or the plan does not include API
            access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorDto'
              example:
                error:
                  type: authorization_error
                  code: permission_denied
                  message: This API key is missing the required scope.
                  status: 403
                  requestId: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
        '404':
          description: The resource does not exist in your workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorDto'
              example:
                error:
                  type: invalid_request_error
                  code: not_found
                  message: Resource not found.
                  status: 404
                  requestId: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
        '413':
          description: >-
            The message is too large to return its body inline. Its `snippet` is
            still available from the list, and the message can be opened in the
            dashboard.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorDto'
              example:
                error:
                  type: invalid_request_error
                  code: body_too_large
                  message: The message is too large to return its body inline.
                  status: 413
                  requestId: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
        '429':
          description: >-
            Rate limit exceeded - retry after the interval in the Retry-After
            header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorDto'
              example:
                error:
                  type: rate_limit_error
                  code: rate_limited
                  message: >-
                    Too many requests. Retry after the interval in the
                    Retry-After header.
                  status: 429
                  requestId: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
                  retryAfter: 30
        '503':
          description: A dependency is temporarily unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorDto'
              example:
                error:
                  type: api_error
                  code: upstream_unavailable
                  message: A dependency is temporarily unavailable.
                  status: 503
                  requestId: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
      security:
        - ApiKey: []
components:
  schemas:
    EmailDetailApiDto:
      type: object
      properties:
        id:
          type: string
          example: 8c5a1e07-2b93-4d6f-a0e8-7c4b9d1f2a36
        threadId:
          type: string
          nullable: true
          example: 13a265fd-f0f2-b1d1-d6fc-154e483183e7
          description: >-
            Conversation this email belongs to. `null` when the email is not
            part of a conversation. An opaque identifier: pass it back as-is, do
            not parse or construct it.
        messageId:
          type: string
          nullable: true
          example: <CAF=abc123@mail.gmail.com>
          description: RFC 5322 Message-ID as set by the sending server.
        mailbox:
          nullable: true
          description: The mailbox of yours that sent or received this email.
          type: object
          allOf:
            - $ref: '#/components/schemas/EmailMailboxDto'
        from:
          $ref: '#/components/schemas/EmailParticipantDto'
        to:
          example:
            - jane@acme.com
          type: array
          items:
            type: string
        cc:
          example: []
          type: array
          items:
            type: string
        bcc:
          example: []
          type: array
          items:
            type: string
        subject:
          type: string
          example: 'Re: Pricing question'
        snippet:
          type: string
          nullable: true
          example: Thanks for the details, this works for us.
          description: Short preview of the message. Always present in list results.
        isUnread:
          type: boolean
          nullable: true
          example: true
          description: >-
            Read state. `null` when the email is not part of a conversation and
            therefore has no read state, which is not the same as read.
        type:
          type: string
          enum:
            - sent
            - received
          example: received
        campaignId:
          type: string
          nullable: true
          example: c1f3b0a2-6d4e-4f8b-9a1c-2e5d7f0a3b6c
        leadId:
          type: string
          nullable: true
          example: 9d4e2f10-5b6a-4c73-8e19-0f2a7c4d8b31
        hasAttachments:
          type: boolean
          example: false
        receivedAt:
          type: string
          format: date-time
          example: '2026-07-13T09:24:11.000Z'
        sentAt:
          type: string
          format: date-time
          nullable: true
          example: '2026-07-13T09:24:09.000Z'
        body:
          description: >-
            The message body. Returned only here, never in list results. A
            `null` field means that part was never stored for this message. It
            does NOT mean we failed to read it: if the stored body is unreadable
            right now, the call returns `503` instead, so a `200` always carries
            the real content.
          allOf:
            - $ref: '#/components/schemas/EmailBodyDto'
      required:
        - id
        - threadId
        - messageId
        - mailbox
        - from
        - to
        - cc
        - bcc
        - subject
        - snippet
        - isUnread
        - type
        - campaignId
        - leadId
        - hasAttachments
        - receivedAt
        - sentAt
        - body
    ApiErrorDto:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ApiErrorBodyDto'
      required:
        - error
    EmailMailboxDto:
      type: object
      properties:
        id:
          type: string
          example: 3f1c2b7e-9a4d-4c8e-b1f6-5d2a7e0c3b94
        email:
          type: string
          example: jane@acme.com
      required:
        - id
        - email
    EmailParticipantDto:
      type: object
      properties:
        email:
          type: string
          example: john@prospect.io
        name:
          type: string
          nullable: true
          example: John Carter
      required:
        - email
        - name
    EmailBodyDto:
      type: object
      properties:
        html:
          type: string
          nullable: true
          example: <p>Thanks for the details, this works for us.</p>
          description: HTML body. `null` when the message has no HTML part.
        text:
          type: string
          nullable: true
          example: Thanks for the details, this works for us.
          description: Plain-text body. `null` when the message has no text part.
      required:
        - html
        - text
    ApiErrorBodyDto:
      type: object
      properties:
        type:
          type: string
          example: authorization_error
          description: Broad error class.
        code:
          type: string
          example: permission_denied
          description: Stable machine-readable code to switch on.
        message:
          type: string
          example: This API key is missing the required scope.
        status:
          type: number
          example: 403
        requestId:
          type: string
          example: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
          description: Correlation id - quote it in support requests.
        details:
          description: Field-level validation messages (present on validation errors).
          example:
            - name should not be empty
          type: array
          items:
            type: string
        retryAfter:
          type: number
          description: Seconds to wait before retrying (present on 429 responses).
          example: 30
      required:
        - type
        - code
        - message
        - status
        - requestId
  securitySchemes:
    ApiKey:
      scheme: bearer
      bearerFormat: mb_live_…
      type: http

````

## Related topics

- [Emails](/emails.md)
- [Get a mailbox](/api-reference/email-accounts/get-a-mailbox.md)
- [Email Accounts](/accounts.md)
- [Get a lead search](/api-reference/lead-finder/get-a-lead-search.md)
- [Get a lead](/api-reference/leads/get-a-lead.md)
