---
search:
  tags:
    - administration
    - GET
seo:
  description: >-
    Retrieves all email accounts configured for the workspace. Email… Reference
    for the GET /administration/email-accounts endpoint in the Leadtime Public
    API API.
sidebar:
  badge: GET
  label: List email accounts
title: List email accounts
type: openapi-operation
---
Retrieves all email accounts configured for the workspace. Email accounts enable sending and receiving emails through the platform, including integration with helpdesk functionality.

**Account Types:**
- **IMAP**: Traditional email accounts with IMAP/SMTP configuration. Can be fully managed via API (create, update, delete).
- **Google**: Gmail/Google Workspace accounts via OAuth2. Can only be viewed and deleted via API for security reasons.
- **Office365**: Microsoft 365 accounts via OAuth2. Can only be viewed and deleted via API for security reasons.

**Response Details:**
- Returns all accounts with their current status (active, token_expired, smtp_error, imap_error, disconnected)
- Sensitive fields (passwords, tokens) are excluded from responses
- Each account includes capabilities indicating what operations are allowed via API
- Supports optional filtering by account type using the `type` query parameter

<Operation source="api-reference" id="emailaccountscontroller-listemailaccounts" />
