Email Account Management
Get All Email Accounts
Retrieve all email accounts with advanced filtering and pagination options
GET
Documentation Index
Fetch the complete documentation index at: https://api.smartlead.ai/llms.txt
Use this file to discover all available pages before exploring further.
Returns email accounts with SMTP/IMAP credentials, warmup status, and campaign associations. Supports filtering by connection status, warmup state, email provider, and usage status.
Query Parameters
Your SmartLead API key
Pagination offset (minimum: 0)
Number of accounts to return per page (minimum: 1, maximum: 100)
Filter by usage status. Valid values:
true (used in campaigns), false (not used in campaigns)Filter by warmup status. Valid values:
ACTIVE, INACTIVEFilter by SMTP connection status. Valid values:
true (connected), false (failed)Filter by warmup blocked status. Valid values:
true (blocked), false (not blocked)Filter by email service provider. Valid values:
GMAIL, OUTLOOK, SMTPFilter by email username (partial match supported)
Filter by client ID (for multi-tenant accounts)
Response Fields
The response is an array of email account objects, each containing:Account Information
Account Information
Unique email account identifier
Display name for outgoing emails
Email address
Email account username
Account type:
GMAIL, OUTLOOK, or SMTPAssociated client ID
Number of campaigns using this email account
When the account was added
When the account was last updated
SMTP Configuration
SMTP Configuration
IMAP Configuration
IMAP Configuration
IMAP server hostname
IMAP server port
IMAP port type (SSL/TLS)
IMAP username
Whether IMAP uses different credentials than SMTP
Whether IMAP connection is successful
IMAP connection error message if failed
Sending Configuration
Sending Configuration
Maximum messages allowed per day
Messages sent today
Email signature HTML
Custom domain for tracking links
BCC email address for all outgoing emails
Custom reply-to email address
Minimum time to wait between emails (in minutes)
Warmup Details
Warmup Details
Email warmup status and metrics
Response Codes
Email accounts retrieved successfully
Invalid or missing API key
Invalid query parameters (check limit range and filter values)
Server error occurred
Usage Notes
Passwords are base64 encoded in the response for security. Decode them before use in your SMTP/IMAP clients.
