sdkProvider-backed
List email accounts
pipeline.listEmailAccounts
List native email inboxes connected to the selected workspace. Credentials are never returned.
Parameters
workspaceId
string
Optional for workspace-bound credentials.
limit
number
No description.
offset
number
No description.
Example
TypeScripttypescript
await pipeline.listEmailAccounts({})
Response
Success response schemajson schema
{"type": "object","properties": {"accounts": {"type": "array","items": {"type": "object","properties": {"id": {"type": "string"},"workspaceId": {"type": "string"},"email": {"type": "string"},"state": {"type": "string"}}}},"tags": {"type": "array","items": {"type": "string"}},"limit": {"type": "integer"},"offset": {"type": "integer"}},"required": ["accounts","tags","limit","offset"]}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.