Email & PEC
List the mailboxes you can see
The mailboxes this member has access to, with their protocol (imap or pec), sync state and last error. Call this before email_draft: you need an account id to compose from, and PEC and ordinary mail are not interchangeable.
Examples
- Which mailboxes are connected? GET /api/v1/rest/email/accounts
get/api/v1/rest/email/accounts
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/email/accounts
- Auth: HTTP bearer
Headers
X-Tenant-Idstring uuid
The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.
Response
Done. data is the tool’s own answer.
Changes
No recorded changes to this operation across all 1 revision of this API.