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

# Update email address settings

> Update an address's sender names, auto-reply, and forwarding behavior. Only the fields you send change. Requires the admin scope.



## OpenAPI

````yaml openapi-v2.json patch /settings/email-addresses/{id}
openapi: 3.0.3
info:
  title: Productlane API
  description: Productlane API v2.
  version: 2.0.0
servers:
  - url: https://productlane.com/api/v2
security: []
paths:
  /settings/email-addresses/{id}:
    patch:
      tags:
        - settings
      summary: Update email address settings
      description: >-
        Update an address's sender names, auto-reply, and forwarding behavior.
        Only the fields you send change. Requires the admin scope.
      operationId: settings-updateEmailAddress
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sender_name:
                  type: string
                  maxLength: 100
                  nullable: true
                auto_reply_enabled:
                  type: boolean
                auto_reply_message:
                  type: string
                  maxLength: 2000
                is_broadcast_default:
                  type: boolean
                forwarded_email_handling:
                  type: string
                  enum:
                    - AUTO
                    - ORIGINAL_SENDER
                    - FORWARDER
              additionalProperties: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  email:
                    type: string
                  domain:
                    type: string
                  inbound_address:
                    type: string
                  sender_name:
                    type: string
                    nullable: true
                  auto_reply_sender_name:
                    type: string
                    nullable: true
                  is_enabled:
                    type: boolean
                  is_primary:
                    type: boolean
                  is_broadcast_default:
                    type: boolean
                  is_forwarding_setup:
                    type: boolean
                  auto_reply_enabled:
                    type: boolean
                  auto_reply_message:
                    type: string
                  ai_agent_enabled:
                    type: boolean
                    description: >-
                      Read-only. True when the agent is enabled and its email
                      channel is on. Set it under the agent settings, not per
                      address.
                  forwarded_email_handling:
                    type: string
                    description: One of AUTO, ORIGINAL_SENDER, FORWARDER.
                  dns_txt_verified:
                    type: boolean
                  dns_cname_verified:
                    type: boolean
                  created_at:
                    type: string
                  updated_at:
                    type: string
                required:
                  - id
                  - email
                  - domain
                  - inbound_address
                  - sender_name
                  - auto_reply_sender_name
                  - is_enabled
                  - is_primary
                  - is_broadcast_default
                  - is_forwarding_setup
                  - auto_reply_enabled
                  - auto_reply_message
                  - ai_agent_enabled
                  - forwarded_email_handling
                  - dns_txt_verified
                  - dns_cname_verified
                  - created_at
                  - updated_at
                additionalProperties: false
        default:
          $ref: '#/components/responses/error'
      security:
        - Authorization: []
components:
  responses:
    error:
      description: Error response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              code:
                type: string
              issues:
                type: array
                items:
                  type: object
                  properties:
                    message:
                      type: string
                  required:
                    - message
                  additionalProperties: false
            required:
              - message
              - code
            additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````

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