Easymailing
Emails

List the readable mailboxes

GET /email_mailboxes

GET/email_mailboxes

Lists the connected Gmail mailboxes whose emails the user can read: the user's own and the ones whose owners shared them with the account, sorted by address.

When to use: To get the UUID of a mailbox to use as the mailbox filter of list_emails, or to tell the user which inboxes feed the emails they see.

When not to use: It does not list who is connected nor manage connections: connecting, disconnecting and sharing a whole mailbox are done by its owner in Email and calendar settings of the app. To change who can read a single email, use set_email_access_grants.

Filters: No filters and no pagination: all readable mailboxes come in one response.

Permissions: Requires a CRM seat and the crm.contacts_companies.read capability. Any user with a CRM seat who can read contacts and companies (or opportunities) gets the list; it only contains mailboxes the user can read, never the rest.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/email_mailboxes" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "address": "string"  }]