status:
Three more fields help:
Get notified
Subscribe a webhook endpoint to the status events. Each one is sent when the status changes:account.status.disconnected
account.reconnect with the account, and account.status.running because it’s running again. See Events.
Accounts API
To change an account’s settings (for example a new app password), see Reconnect or change settings.
Find accounts
string
running, errored or disconnected.string
imap.string
Part of the name or address, or an exact
acc_… id.integer
default:"50"
1 to 250.
integer
default:"0"
How many accounts to skip.
Response
Save your own data
metadata holds your own key-value data, for example the user’s id in your app. Values must be strings. The object you send replaces the current metadata.
Sync now
Response
Remove an account
Response
account.remove event is sent. Nothing is deleted in the user’s real mailbox.
The account object
Passwords and tokens are never returned.