The engine drops its IMAP connection and opens a new one.
Your API key from the console (gw_live_…).
In: header
Path Parameters
A mailbox (em_…).
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/email/api/v1/accounts/em_gX2kP9qL4mT7vB1nR8sW3yZ/restart"{ "object": "AccountRestarted"}Reconnect a mailbox POST
New credentials or settings for the same mailbox, in place (same id), with the same body as a connect. `provider` may differ from the mailbox's type (a password mailbox moved to your Google or Microsoft OAuth app, or back): the old login is replaced and the account's `type` follows. The next `OK` is sent as `RECONNECTED`; a refused reconnect changes nothing.
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).