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

# Create an email draft conversation

> Creates a draft email conversation bound to the supplied recipient(s) and account. The resulting conversation/message can be edited and sent through the standard send flow.



## OpenAPI

````yaml /api-reference/openapi.yaml post /api/email/messages/draft
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/email/messages/draft:
    post:
      tags:
        - Email
      summary: Create an email draft conversation
      description: >-
        Creates a draft email conversation bound to the supplied recipient(s)
        and account. The resulting conversation/message can be edited and sent
        through the standard send flow.
      operationId: post_email_messages_draft
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailCreateDraftRequest'
      responses:
        '200':
          description: Draft created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailCreateDraftResponse'
        '400':
          description: Missing required fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailErrorResponse'
        '404':
          description: Email account not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailErrorResponse'
        '500':
          description: Unable to create email draft
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    EmailCreateDraftRequest:
      type: object
      properties:
        accountId:
          type: string
        to:
          type: string
          description: String or array of strings
        subject:
          type: string
        cc:
          type: array
          items:
            type: string
        bcc:
          type: array
          items:
            type: string
      required:
        - accountId
        - to
      additionalProperties: true
      example:
        accountId: 665f1a0c0e0a4b001a2c9f50
        to: jamie.lee@example.com
        subject: Quick follow-up
    EmailCreateDraftResponse:
      type: object
      description: >-
        Returned after `POST /api/email/messages/draft` creates a draft
        conversation.
      properties:
        conversationId:
          type: string
        conversation:
          $ref: '#/components/schemas/EmailDraftConversation'
      required:
        - conversationId
        - conversation
      additionalProperties: true
      example:
        conversationId: 665f1a0c0e0a4b001a2c9f70
        conversation:
          _id: 665f1a0c0e0a4b001a2c9f70
          channelType: email
          isDraft: true
          subject: 'Follow-up: Maple Court'
          participants:
            from: leasing@acme.example
            to:
              - alex.morgan@example.com
    EmailErrorResponse:
      type: object
      description: >-
        Error envelope returned by Email feature endpoints. Most paths only set
        `error`; a few include `code` for diagnostic context (e.g. provider
        mismatches).
      properties:
        error:
          type: string
        message:
          type: string
        code:
          type: string
      required:
        - error
      additionalProperties: true
      example:
        error: Email account not found
    EmailDraftConversation:
      type: object
      description: >-
        Draft conversation document returned after creating an email draft.
        Marked with `isDraft:true` until the user sends.
      properties:
        _id:
          type: string
        organizationId:
          type: string
        contactId:
          type: string
        userId:
          type: string
        channelType:
          type: string
          enum:
            - email
        emailAccountId:
          type: string
        isDraft:
          type: boolean
          enum:
            - true
        subject:
          type: string
        provider:
          type: string
        participants:
          type: object
          properties:
            from:
              type: string
            to:
              type: array
              items:
                type: string
            cc:
              type: array
              items:
                type: string
            bcc:
              type: array
              items:
                type: string
          additionalProperties: true
        lastMessageTime:
          type: string
          format: date-time
        source:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - _id
        - channelType
        - isDraft
        - subject
        - participants
      additionalProperties: true
      example:
        _id: 665f1a0c0e0a4b001a2c9f70
        organizationId: 64a1b2c3d4e5f60012345678
        contactId: 64b2c3d4e5f60012345678aa
        userId: 64a1b2c3d4e5f60012345679
        channelType: email
        emailAccountId: 64d2f9c5e8a1d4e001a0b1c2
        isDraft: true
        subject: 'Follow-up: Maple Court'
        provider: gmail
        participants:
          from: leasing@acme.example
          to:
            - alex.morgan@example.com
        source: New Email
        createdAt: '2026-05-20T15:04:01.135Z'
        updatedAt: '2026-05-20T15:04:01.135Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````