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

# Forward email

> **Plans:** `Free` · `Developer` · `Enterprise`

Forwards an existing email to new recipients. Free external recipient limits count every To+Cc+Bcc address; respect `Retry-After` and do not auto-retry writes.

**API credits:** 5 (email_send).



## OpenAPI

````yaml /openapi/openapi.json post /api/v1/mailboxes/{mailboxId}/emails/{emailId}/forward
openapi: 3.1.0
info:
  title: Mermail API
  version: 1.0.0
  description: >
    Programmatic Mermail API for scripts, agents, and integrations.


    ## Authentication


    Authorize with an API key from **Settings → API Keys**:


    ```

    x-api-key: sk-proj-…

    ```


    ## Plans


    Each endpoint page shows plan badges (**Public**, **All plans**, or
    **Developer+**). Free can call the core catalog; Developer-gated paths need
    Developer or Enterprise.


    ## Try it


    Every endpoint page includes an interactive playground. Click **Try it**,
    paste your API key into the `x-api-key` field, fill path/query/body fields
    (prefilled from examples), and send a live request to
    `https://console.mermail.app`. You can also copy the generated cURL /
    JavaScript / Python snippet.


    ## Credits


    Credits are workspace API-usage units, not currency amounts.


    | Class | Cost |

    | --- | ---: |

    | read | 1 |

    | write | 2 |

    | email_send | 5 |

    | provision | 10 |

    | ai_light | 15 |

    | ai_heavy | 25 |
  contact:
    name: Mermail
    email: contact@mermail.app
    url: https://mermail.app
servers:
  - url: https://console.mermail.app
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Public
    description: No authentication
  - name: Usage
    description: Credits and email quotas
  - name: Workspaces
    description: Workspaces, members, storage
  - name: Domains
    description: Custom email domains (Developer+)
  - name: Mailboxes
    description: Agent inboxes
  - name: Emails
    description: Send, list, search, folders
  - name: Webhooks
    description: Email event subscriptions and delivery history
  - name: AI agent
    description: Mailbox agent chat
  - name: Task triage
    description: Task triagers (all plans)
  - name: RAG
    description: Knowledge documents and recall
  - name: Integrations
    description: Composio, Telegram, push
  - name: Affiliate
    description: Affiliate program
paths:
  /api/v1/mailboxes/{mailboxId}/emails/{emailId}/forward:
    post:
      tags:
        - Emails
      summary: Forward email
      description: >-
        **Plans:** `Free` · `Developer` · `Enterprise`


        Forwards an existing email to new recipients. Free external recipient
        limits count every To+Cc+Bcc address; respect `Retry-After` and do not
        auto-retry writes.


        **API credits:** 5 (email_send).
      parameters:
        - name: mailboxId
          in: path
          required: true
          description: Mailbox public_id (UUID), hosted alias id, or current email
          schema:
            type: string
          example: aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee
        - name: emailId
          in: path
          required: true
          description: Original email id
          schema:
            type: string
          example: msg_7f3a2c1b
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - to
                - from
                - subject
              properties:
                to:
                  oneOf:
                    - type: string
                      format: email
                    - type: array
                      items:
                        type: string
                        format: email
                  description: Recipient email or list
                  example:
                    - hello@example.com
                cc:
                  oneOf:
                    - type: string
                    - type: array
                      items:
                        type: string
                bcc:
                  oneOf:
                    - type: string
                    - type: array
                      items:
                        type: string
                from:
                  oneOf:
                    - type: string
                      format: email
                    - type: object
                      properties:
                        email:
                          type: string
                        name:
                          type: string
                  example: support@mail.acme.com
                subject:
                  type: string
                  example: Hello from Mermail
                html:
                  type: string
                  example: <p>Hi there</p>
                text:
                  type: string
                  example: Hi there
                attachments:
                  type: array
                  maxItems: 20
                  description: >-
                    Base64 file bytes or an existing attachment_id from the same
                    authorized mailbox. Omit to preserve attachments from
                    source_draft_id (send) or draft_id (save/schedule); []
                    clears; an array replaces the complete set. Storage limits:
                    20 files, 10 MiB each, 25 MiB decoded total. Encoded message
                    limits include overhead: about 5 MiB for hosted addresses
                    and about 40 MB for custom-domain addresses. Local paths and
                    URLs are not accepted.
                  items:
                    oneOf:
                      - type: object
                        required:
                          - content
                          - filename
                          - type
                          - disposition
                        properties:
                          content:
                            type: string
                            contentEncoding: base64
                            description: >-
                              Base64 encoded file bytes, without a data URL
                              prefix.
                          filename:
                            type: string
                            minLength: 1
                            maxLength: 255
                          type:
                            type: string
                            description: MIME type, e.g. application/pdf.
                          disposition:
                            type: string
                            enum:
                              - attachment
                              - inline
                          contentId:
                            type: string
                            description: >-
                              Unique bare Content-ID required for inline
                              PNG/JPEG/GIF/WebP; use matching HTML
                              src=cid:contentId.
                          encryption:
                            type: string
                            enum:
                              - worker-aes-v1
                        additionalProperties: false
                      - type: object
                        required:
                          - attachment_id
                        properties:
                          attachment_id:
                            type: string
                            description: >-
                              Authorized same-mailbox attachment ID; metadata
                              and bytes are resolved server-side.
                        additionalProperties: false
                in_reply_to:
                  type: string
                references:
                  type: array
                  items:
                    type: string
                thread_id:
                  type: string
                source_draft_id:
                  type: string
            example:
              to:
                - team@acme.com
              from: support@mail.acme.com
              subject: 'Fwd: Order question'
              text: FYI
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendEmailResult'
              example:
                id: msg_fwd01
                status: sent
        '400':
          description: >-
            Validation error, including email_send_recipient_limit_exceeded when
            a Free external send has more than 10 total To+Cc+Bcc recipients
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                recipientLimit:
                  value:
                    error: email_send_recipient_limit_exceeded
                    code: email_send_recipient_limit_exceeded
                validation:
                  value:
                    error: Invalid request
        '401':
          description: Missing, invalid, expired, or revoked API key / token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Unauthorized
        '402':
          description: API credits exhausted for this workspace period
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Invalid request
        '403':
          description: Forbidden — plan gate, wrong workspace, or missing role
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Forbidden
        '429':
          description: >-
            Workspace RPM or external recipient window exceeded.
            email_send_rate_limit_exceeded is not safe for automatic write
            replay; Free windows are 10 recipient units/minute, 50/hour, and
            200/day.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: email_send_rate_limit_exceeded
                code: email_send_rate_limit_exceeded
          headers:
            Retry-After:
              schema:
                type: integer
              description: Seconds until the rate limit window resets
        '503':
          description: >-
            email_send_rate_limit_unavailable — external delivery fails closed
            because recipient capacity cannot be verified
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: email_send_rate_limit_unavailable
                code: email_send_rate_limit_unavailable
      security:
        - apiKeyAuth: []
components:
  schemas:
    SendEmailResult:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
          example: sent
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          example: Unauthorized
        code:
          type: string
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key (`sk-proj-…`) from Settings → API Keys. Required for sold API
        calls outside the Mermail console.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.