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

# Get email history with a person

> Every email with one person, newest first: inbox and workflow email (`source: inbox`) and Quick Emails sent from the shared LumisReach address (`source: quick`). Name the person with `contact_id` or `email`. Free: reads are never billed.



## OpenAPI

````yaml /openapi.json get /v1/history/emails
openapi: 3.1.0
info:
  title: LumisReach v1 API
  version: 1.0.0
  description: >-
    Programmatic access to the LumisReach voice platform — calls, numbers,
    caller trust, and brands.
  contact:
    name: LumisReach
    email: founders@lumisreach.com
servers:
  - url: https://api.lumisreach.com/api
security:
  - bearerAuth: []
tags:
  - name: Phone Numbers
  - name: Caller IDs
  - name: Enterprise Registration
  - name: Branded Calling
  - name: Calls
  - name: SMS
  - name: WebRTC
  - name: Reputation
  - name: Usage
  - name: Account
  - name: Conversation History
  - name: Documents
  - name: Quick Agent Actions
  - name: Sub-entities
paths:
  /v1/history/emails:
    get:
      tags:
        - Conversation History
      summary: Get email history with a person
      description: >-
        Every email with one person, newest first: inbox and workflow email
        (`source: inbox`) and Quick Emails sent from the shared LumisReach
        address (`source: quick`). Name the person with `contact_id` or `email`.
        Free: reads are never billed.
      operationId: v1_history_emails_get
      parameters:
        - name: contact_id
          in: query
          required: false
          schema:
            description: >-
              A contact id (from `GET /v1/history/people`). Its phone number /
              email is used.
            type: string
            minLength: 1
        - name: email
          in: query
          required: false
          schema:
            description: The person's email address
            type: string
            format: email
            pattern: >-
              ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
        - name: limit
          in: query
          required: true
          schema:
            default: 20
            type: integer
            minimum: 1
            maximum: 100
        - name: cursor
          in: query
          required: false
          schema:
            description: '`meta.cursor` from the previous page'
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-07/schema#
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        direction:
                          anyOf:
                            - type: string
                              enum:
                                - inbound
                                - outbound
                            - type: 'null'
                        source:
                          type: string
                          enum:
                            - inbox
                            - quick
                        status:
                          type: string
                        from:
                          anyOf:
                            - type: string
                            - type: 'null'
                        to:
                          type: array
                          items:
                            type: string
                        subject:
                          anyOf:
                            - type: string
                            - type: 'null'
                        body:
                          type: string
                        created_at:
                          type: string
                      required:
                        - id
                        - direction
                        - source
                        - status
                        - from
                        - to
                        - subject
                        - body
                        - created_at
                      additionalProperties: false
                  meta:
                    type: object
                    properties:
                      cursor:
                        type: string
                      page_size:
                        type: number
                    required:
                      - page_size
                    additionalProperties: false
                required:
                  - data
                  - meta
                additionalProperties: false
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '409':
          description: Conflict (incl. idempotency conflicts)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
components:
  schemas:
    ErrorEnvelope:
      type: object
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            fields:
              type: object
              additionalProperties:
                type: string
            doc_url:
              type: string
              format: uri
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````