Connect an IMAP support mailbox and its outgoing mail server, or — with mailbox_id — replace the username and password (
Changed onConnect an IMAP support mailbox and its outgoing mail server, or — with mailbox_id — replace the username and password (and optionally the server settings) of one that is refused. The connection is tested at once; the mailbox is kept either way and connection_error says what to fix. Gmail and Microsoft 365 need an app password here, or the one-use consent link instead. The password is write-only: it is never stored in the conversation or returned. An app may connect a mailbox only for an owner or admin of the store (403 otherwise). A mailbox an app connects starts with IMAP write-back off and is not the default outbox; a signature is refused here and proposed after connecting. Requires an idempotency_key.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopescs:write
Headers
Required, here or as idempotency_key in the body. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.
Request body
Replace this mailbox's credentials instead of connecting a new one.
Default 993.
Default true.
Default 587.
Required on a port other than 465, 587 or 25.
Never stored in the conversation or returned.
Refused from an app (a signature is a proposal).
Required. A unique string you choose for this request. Send the SAME key when retrying after a timeout and Magistry returns the original outcome instead of performing the write twice. Reusing a key with different arguments is refused rather than replayed.
Response
Tool result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning