Email

Choose which Bavimail emails to keep

Off, the default, keeps only campaign emails and their replies. On also imports the account’s other email threads, the last 30 days first and then each new one, in the background. Turning it off deletes those other conversations from Bavlio; nothing changes in Bavimail.

PUT
/bavimail/connection/all-messages

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
all_messagesbooleanrequired

true: the inbox also keeps the account's conversations outside campaigns (scope other), its recent ones first, then every new message. false: it keeps only campaign conversations and deletes the account's other conversations from Bavlio; nothing changes on LinkedIn or in the mailbox.

Response

application/json

Success

bavimailobject | nullrequired

The connected Bavimail account; null when none is connected.