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

# Connect a mailbox

> Connect a mailbox by its mail-server settings.

Connects a mailbox by its mail-server settings. `POST /v3/outreach/sending-accounts/smtp/test` and `POST /v3/outreach/sending-accounts/imap/test` verify the credentials without saving them.

The reading settings are optional. Without them the mailbox sends normally but replies never come back into SnowSEO.

> [!WARNING]
>
> These endpoints take mailbox passwords, so they are **not exposed as MCP tools** - connecting a mailbox is not something an AI assistant should do on your behalf. Connect mailboxes from **Settings → Integrations → Sending accounts** in the dashboard.


## OpenAPI

````yaml POST /v3/outreach/sending-accounts/smtp
openapi: 3.0.0
info:
  title: SnowSEO API
  description: API documentation for SnowSEO
  version: 1.0.0
servers:
  - url: https://api.snowseo.com
    description: Production server
security:
  - bearerAuth: []
  - apiKey: []
externalDocs:
  url: https://snowseo.com/docs
  description: Find more info here
paths:
  /v3/outreach/sending-accounts/smtp:
    post:
      tags:
        - Outreach
      summary: Connect an SMTP mailbox
      operationId: connectOutreachSmtp
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - email
                - smtpHost
                - smtpUser
                - smtpPassword
              properties:
                teamId:
                  type: string
                email:
                  type: string
                  description: Mailbox address.
                displayName:
                  type: string
                  nullable: true
                  description: Name shown in the From header.
                smtpHost:
                  type: string
                  description: Outgoing mail server.
                smtpPort:
                  type: number
                  nullable: true
                  description: SMTP port.
                smtpEncryption:
                  type: string
                  description: 'One of: ssl, tls, none. Defaults to tls.'
                smtpUser:
                  type: string
                  description: SMTP username.
                smtpPassword:
                  type: string
                  description: SMTP password.
                imapHost:
                  type: string
                  nullable: true
                  description: Incoming mail server. Turns on reply reading.
                imapPort:
                  type: number
                  nullable: true
                  description: IMAP port.
                imapSecure:
                  type: boolean
                  description: Use TLS for IMAP.
                imapUser:
                  type: string
                  nullable: true
                  description: IMAP username. Falls back to the SMTP username.
                imapPassword:
                  type: string
                  nullable: true
                  description: IMAP password. Falls back to the SMTP password.
      responses:
        '201':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  account:
                    type: object
                    properties:
                      id:
                        type: string
                      provider:
                        type: string
                      email:
                        type: string
                      displayName:
                        type: string
                        nullable: true
                      dailyLimit:
                        type: number
                      isActive:
                        type: boolean
                      connectedAt:
                        type: string
                    additionalProperties: true
                  canReceive:
                    type: boolean
                additionalProperties: true
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  success:
                    type: boolean
                  error:
                    type: string
                  code:
                    type: string
                  message:
                    type: string
                  reference:
                    type: string
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your SnowSEO API key (sk_...).
    apiKey:
      type: apiKey
      name: x-api-key
      in: header

````

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