# Send Email

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v2/onebox/send-email:
    post:
      summary: Send Email
      deprecated: false
      description: Send an email from a specified mailbox account.
      tags:
        - zapbox
      parameters:
        - name: x-auth-zapmail
          in: header
          description: ''
          required: true
          example: YOUR_API_KEY
          schema:
            type: string
        - name: x-workspace-id
          in: header
          description: ''
          required: false
          example: WORKSPACE_UUID
          schema:
            type: string
        - name: x-service-provider
          in: header
          description: ''
          required: false
          example: GOOGLE
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                account:
                  type: string
                to:
                  type: string
                subject:
                  type: string
                body:
                  type: string
                cc:
                  type: array
                  items:
                    type: string
                bcc:
                  type: array
                  items:
                    type: string
                messageId:
                  type: string
                  description: Message Id of the email you're replying to
                threadId:
                  type: string
                  description: Thread Id of the email thread in case of reply
                '':
                  type: string
              required:
                - ''
                - account
                - to
                - subject
                - body
              x-apidog-orders:
                - ''
                - account
                - to
                - subject
                - body
                - cc
                - bcc
                - messageId
                - threadId
            example:
              from: sender@example.com
              account: sender@example.com
              to: recipient@example.com
              subject: Email Subject
              body: Email body content
              cc:
                - cc1@example.com
                - cc2@example.com
              bcc:
                - bcc1@example.com
                - bcc2@example.com
              messageId: message-id-for-reply
              threadId: thread-id-for-reply
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: zapbox
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/797058/apis/api-26824942-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.zapmail.ai/api
    description: Prod Env
security: []

```
