Get email sync status for an account
Returns the latest historical-sync progress for a connected mailbox: whether a sync is in flight, last completion timestamp, and progress counters. Use this to drive a progress indicator after kicking off POST /api/email/messages/sync.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
accountId*string
Internal _id of the EmailAccount to query.
Response Body
application/json
application/json
curl -X GET "https://example.com/api/email/messages/sync/status?accountId=string"{ "accountId": "665f1a0c0e0a4b001a2c9f50", "inProgress": false, "lastSyncedAt": "2026-05-18T12:00:00.000Z", "messagesProcessed": 423, "totalEstimated": 423, "error": null}