By its emf_ id, or its provider_id (path) with account_id.
Your API key from the console (gw_live_…).
In: header
Path Parameters
Query Parameters
The mailbox (em_…): required with a provider id, else it must be the id's own.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/email/api/v1/folders/string"{ "object": "Folder", "id": "string", "name": "string", "account_id": "string", "role": "inbox", "nb_mails": 0, "provider_id": "string"}Check an IMAP/SMTP login POST
Swarmhit's own. The same body as a `MAIL` connect; tries the IMAP and SMTP logins and creates nothing. 200 whatever the outcome: each leg says whether it worked and why not. `imap_access_token` / `smtp_access_token` (or `access_token`) in place of the passwords check an OAuth login (XOAUTH2) on the servers named: Google's token when the IMAP host is Gmail's (`gmail.com`, `googlemail.com`), else Microsoft's. The engine gets 15 s to answer. Limited with connects (120 per 10 minutes per client key, 429).
List a mailbox's folders GET
Not paginated. Gmail's labels are its folders.