Lists the mailboxes linked to the caller's extraction code. OAuth tokens and IMAP credentials are never returned.
GET
/extraction/case/email-providers
curl \
--request GET 'http://api.example.com/extraction/case/email-providers' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"email": "jane.doe@example.com",
"ecCode": "K7Q2-9XPL",
"grantId": "5f0c8b3e-2a41-4d7c-9a51-1c2b3d4e5f60",
"provider": "google",
"isValid": true,
"lastAccessedAt": "2026-01-15T14:30:00.000Z",
"folders": [
{
"backgroundColor": "#ffffff",
"id": "INBOX",
"isSystemFolder": true,
"metadata": {
"grantId": "5f0c8b3e-2a41-4d7c-9a51-1c2b3d4e5f60",
"id": "INBOX",
"name": "INBOX",
"object": "folder",
"systemFolder": true
},
"name": "INBOX"
}
]
}
],
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}