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

# List Email Accounts

> Retrieve a paginated list of email accounts in your workspace.

## Query Parameters

<ParamField query="page" type="integer" default="1">
  Page number (starts at 1).
</ParamField>

<ParamField query="pageSize" type="integer" default="20">
  Number of accounts per page (1-100).
</ParamField>

## Response

<ResponseField name="data" type="array">
  Array of email account objects.

  <Expandable title="Email account object">
    <ResponseField name="id" type="string">Unique account identifier.</ResponseField>
    <ResponseField name="email" type="string">Email address.</ResponseField>
    <ResponseField name="displayName" type="string">Display name for outgoing emails.</ResponseField>
    <ResponseField name="provider" type="string">Email provider: `gmail`, `outlook`, `custom`.</ResponseField>
    <ResponseField name="smtpHost" type="string">SMTP server hostname.</ResponseField>
    <ResponseField name="smtpPort" type="integer">SMTP port.</ResponseField>
    <ResponseField name="imapHost" type="string">IMAP server hostname.</ResponseField>
    <ResponseField name="imapPort" type="integer">IMAP port.</ResponseField>
    <ResponseField name="dailyLimit" type="integer">Maximum emails per day.</ResponseField>
    <ResponseField name="sentToday" type="integer">Emails sent today.</ResponseField>
    <ResponseField name="warmupEnabled" type="boolean">Whether warmup is enabled.</ResponseField>
    <ResponseField name="warmupDailyLimit" type="integer">Warmup emails per day.</ResponseField>
    <ResponseField name="warmupRampUpDays" type="integer">Days for warmup ramp-up.</ResponseField>
    <ResponseField name="warmupStartDate" type="string">When warmup started.</ResponseField>
    <ResponseField name="healthScore" type="integer">Account health score (0-100).</ResponseField>
    <ResponseField name="bounceRate" type="number">Bounce rate (0.0-1.0).</ResponseField>
    <ResponseField name="replyRate" type="number">Reply rate (0.0-1.0).</ResponseField>
    <ResponseField name="isActive" type="boolean">Whether the account is active.</ResponseField>
    <ResponseField name="connectionStatus" type="string">Connection status: `connected`, `disconnected`, `error`.</ResponseField>
    <ResponseField name="lastError" type="string">Last error message if any.</ResponseField>
    <ResponseField name="createdAt" type="string">ISO 8601 timestamp.</ResponseField>
    <ResponseField name="updatedAt" type="string">ISO 8601 timestamp.</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.foxreach.io/api/v1/email-accounts" \
    -H "X-API-Key: otr_your_key"
  ```

  ```python Python SDK theme={null}
  from foxreach import FoxReach

  client = FoxReach(api_key="otr_your_key")
  accounts = client.email_accounts.list()
  ```

  ```typescript TypeScript SDK theme={null}
  import { FoxReach } from "foxreach";

  const client = new FoxReach({ apiKey: "otr_your_key" });
  const accounts = await client.emailAccounts.list();
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "data": [
      {
        "id": "cea_abc123",
        "email": "outreach@company.com",
        "displayName": "John from Company",
        "provider": "gmail",
        "smtpHost": "smtp.gmail.com",
        "smtpPort": 587,
        "imapHost": "imap.gmail.com",
        "imapPort": 993,
        "dailyLimit": 50,
        "sentToday": 12,
        "warmupEnabled": true,
        "warmupDailyLimit": 10,
        "warmupRampUpDays": 14,
        "warmupStartDate": "2025-01-01T00:00:00",
        "healthScore": 95,
        "bounceRate": 0.02,
        "replyRate": 0.08,
        "isActive": true,
        "connectionStatus": "connected",
        "lastError": null,
        "createdAt": "2025-01-01T10:00:00",
        "updatedAt": "2025-01-15T10:30:00"
      }
    ],
    "meta": {
      "page": 1,
      "pageSize": 20,
      "total": 1,
      "totalPages": 1
    }
  }
  ```
</ResponseExample>

<Note>
  Email account credentials (passwords) are never exposed through the API. To add or modify email accounts, use the dashboard.
</Note>

## Rate Limit

* **100 requests per minute, per API key.** Fixed 60-second window.
* Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` (unix epoch seconds).
* A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns (`Retry-After`, exponential backoff, monitoring `X-RateLimit-Remaining`), see [Rate Limiting](/rate-limiting).
