Skip to content

Mail API: settings and libraries

Mail API reference for VIPOutreach: tags, snippets and other libraries, notification preferences, mailbox administration and sender safety.

Libraries are the things you set up once and use in every mailbox, like tags and snippets. Snippets can be your own or shared with the team. Administration covers mailbox access, From addresses and connection health.

Each operation below shows its REST route under https://app.vipoutreach.com/api/v1, the command for the terminal and the MCP tool where they exist. The command's flags are listed with it; IDs in the route come first, in order. Fields that hold an object go in a JSON file passed with --input. These routes have no command of their own, so the terminal reaches them with vipoutreach api and an MCP client with vipoutreach_api_request.

Mailbox administration

Get private human connection setup navigation

GET /api/v1/mail/administration/connection-handoff

Read-only, no provisioning or credential effects. Requires Custom mail_administration read and matching personal administration approval, plus current Mail management. Existing-mailbox actions require its separate administration approval. Password entry, OAuth/MFA consent and credential rotation happen only after the human opens this signed-in settings link and explicitly submits the private form. This link grants no authority, is not provider readiness or completion evidence, and never automatically approves new mailbox content/API access.

ID
getMailConnectionHandoff
CLI
vipoutreach api get /mail/administration/connection-handoff
MCP
vipoutreach_api_request
Access
api:mail:administration:read
Field In Type What it is
action * query string One of: connect_oauth, connect_credentials, connect_shared, reauthorize, rotate_credentials.
mailbox_id query string

* required

Read paginated redacted stored Mail diagnostics

GET /api/v1/mail/administration/doctor

Requires separate mail_administration read capability, explicit administration_mailbox_ids approval, and current management policy. Only approved managed mailboxes are included. Stored snapshot only: no live provider probe, message reads, credentials, repairs, or delivery guarantee. Each row includes health, explicit reader and available sender counts, runtime feature flags, observation time, and suggested next action. Follow the bound cursor to inspect the complete approved subset; an empty or partial page is not a whole-team readiness verdict. All authority is rechecked before returning data.

ID
getMailAdministrationDoctor
CLI
vipoutreach api get /mail/administration/doctor
MCP
vipoutreach_api_request
Access
api:mail:administration:read
Field In Type What it is
per_page query integer Default: 25. From 1 to 100.
cursor query string Up to 4096 characters.

* required

List separately approved manageable mailboxes

GET /api/v1/mail/administration/mailboxes

Requires Custom mail_administration capability, personal approval for the exact administration_mailbox_ids and current Mail management policy. Settings consent and content consent are separate: no inbox access or provider credentials are returned. All IDs are public IDs. Grant replacement uses the COMPLETE desired current-team user list; omitted mailbox readers also lose dependent sender/collaboration access. Signatures use shared HTML sanitization. Alias enable is local activation only, not a reconnect or grant. Default writing style additionally requires libraries write capability and personal libraries approval, current persona/style administration, and voice_revision from the style read for a non-null voice_id; null clears the default. Every write requires confirm=true, Idempotency-Key and the exact settings revision. Stale proposals are rejected, never automatically refreshed. Current actor, policy, selected mailbox consent and target-style authority are checked before cached replay and after the effect. These local operations never call the mail provider or send email.

ID
listManagedMailboxes
CLI
vipoutreach api get /mail/administration/mailboxes
MCP
vipoutreach_api_request
Access
api:mail:administration:read
Field In Type What it is
per_page query integer Default: 25. From 1 to 100.
cursor query string Up to 4096 characters.

* required

Read exact mailbox settings

GET /api/v1/mail/administration/mailboxes/{mailbox_id}

Requires Custom mail_administration capability, personal approval for the exact administration_mailbox_ids and current Mail management policy. Settings consent and content consent are separate: no inbox access or provider credentials are returned. All IDs are public IDs. Grant replacement uses the COMPLETE desired current-team user list; omitted mailbox readers also lose dependent sender/collaboration access. Signatures use shared HTML sanitization. Alias enable is local activation only, not a reconnect or grant. Default writing style additionally requires libraries write capability and personal libraries approval, current persona/style administration, and voice_revision from the style read for a non-null voice_id; null clears the default. Every write requires confirm=true, Idempotency-Key and the exact settings revision. Stale proposals are rejected, never automatically refreshed. Current actor, policy, selected mailbox consent and target-style authority are checked before cached replay and after the effect. These local operations never call the mail provider or send email.

ID
getManagedMailboxSettings
CLI
vipoutreach api get /mail/administration/mailboxes/{mailbox_id}
MCP
vipoutreach_api_request
Access
api:mail:administration:read
Field In Type What it is
mailbox_id * path string

* required

Read your connection operation receipt

GET /api/v1/mail/administration/mailboxes/{mailbox_id}/connection/commands/{command_id}

Requires Custom mail_administration capability, separate bound-user approval for this exact administration_mailbox_ids entry, and current management policy. Does not borrow content grants. A durable receipt records each provider mutation separately before transport and never retries provider effects automatically. A completed command is not a guarantee that provider synchronization has finished. started or needs_attention may include partial local/provider changes; inspect steps and reconcile before any new command. New keys cannot bypass an unresolved command for this mailbox. Replay rechecks current authority. Reads of receipts are bound to the original key and user. No credentials or raw provider payloads are returned. Disconnect can cancel queued mail; flush rebuilds local sync state. Resync and flush additionally require the bound user's current superadmin role. acknowledged_at records explicit acknowledgement of an uncertain outcome, never success. reconciliation_revision binds a later human-approved acknowledgement to this exact receipt and mailbox state.

ID
getMailConnectionCommand
CLI
vipoutreach api get /mail/administration/mailboxes/{mailbox_id}/connection/commands/{command_id}
MCP
vipoutreach_api_request
Access
api:mail:administration:read
Field In Type What it is
mailbox_id * path string
command_id * path string

* required

Acknowledge an unresolved connection outcome without retrying it

POST /api/v1/mail/administration/mailboxes/{mailbox_id}/connection/commands/{command_id}/acknowledge

Requires current management authority and this original key/user receipt. Explicitly acknowledges possible partial or unknown changes and releases the admission fence, without provider HTTP, retries, cancellation or certification of success. confirm:true, reconciliation_revision as revision, and retained Idempotency-Key are required. Resync/flush remain superadmin-only. Interrupted started commands additionally require current superadmin, absence of any active team connection lock and a 240-second quarantine. Original steps and command_completed:false remain preserved. Same intent replays with fresh authority; changed acknowledgement or stale revision conflicts.

ID
acknowledgeMailConnectionCommand
CLI
vipoutreach api post /mail/administration/mailboxes/{mailbox_id}/connection/commands/{command_id}/acknowledge
MCP
vipoutreach_api_request
Access
api:mail:administration:write
Field In Type What it is
mailbox_id * path string
Idempotency-Key * header string Up to 255 characters.
command_id * path string
confirm * body any
revision * body string

* required

Execute one reviewed connection operation

POST /api/v1/mail/administration/mailboxes/{mailbox_id}/connection/{operation}

Requires Custom mail_administration capability, separate bound-user approval for this exact administration_mailbox_ids entry, and current management policy. Does not borrow content grants. A durable receipt records each provider mutation separately before transport and never retries provider effects automatically. A completed command is not a guarantee that provider synchronization has finished. started or needs_attention may include partial local/provider changes; inspect steps and reconcile before any new command. New keys cannot bypass an unresolved command for this mailbox. Replay rechecks current authority. Reads of receipts are bound to the original key and user. No credentials or raw provider payloads are returned. Disconnect can cancel queued mail; flush rebuilds local sync state. Resync and flush additionally require the bound user's current superadmin role. acknowledged_at records explicit acknowledgement of an uncertain outcome, never success. reconciliation_revision binds a later human-approved acknowledgement to this exact receipt and mailbox state.

ID
executeMailConnectionCommand
CLI
vipoutreach api post /mail/administration/mailboxes/{mailbox_id}/connection/{operation}
MCP
vipoutreach_api_request
Access
api:mail:administration:write
Field In Type What it is
mailbox_id * path string
operation * path string One of: reconnect, disconnect, enable, repair, resync, flush.
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Replace the complete mailbox read-access list; removed users also lose dependent sending and collaboration access

PUT /api/v1/mail/administration/mailboxes/{mailbox_id}/grants

Requires Custom mail_administration capability, personal approval for the exact administration_mailbox_ids and current Mail management policy. Settings consent and content consent are separate: no inbox access or provider credentials are returned. All IDs are public IDs. Grant replacement uses the COMPLETE desired current-team user list; omitted mailbox readers also lose dependent sender/collaboration access. Signatures use shared HTML sanitization. Alias enable is local activation only, not a reconnect or grant. Default writing style additionally requires libraries write capability and personal libraries approval, current persona/style administration, and voice_revision from the style read for a non-null voice_id; null clears the default. Every write requires confirm=true, Idempotency-Key and the exact settings revision. Stale proposals are rejected, never automatically refreshed. Current actor, policy, selected mailbox consent and target-style authority are checked before cached replay and after the effect. These local operations never call the mail provider or send email.

ID
updateManagedMailboxGrants
MCP
vipoutreach_api_request
Access
api:mail:administration:write
Field In Type What it is
mailbox_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
user_ids * body array of string

* required

List managed sender settings

GET /api/v1/mail/administration/mailboxes/{mailbox_id}/personas

Requires Custom mail_administration capability, personal approval for the exact administration_mailbox_ids and current Mail management policy. Settings consent and content consent are separate: no inbox access or provider credentials are returned. All IDs are public IDs. Grant replacement uses the COMPLETE desired current-team user list; omitted mailbox readers also lose dependent sender/collaboration access. Signatures use shared HTML sanitization. Alias enable is local activation only, not a reconnect or grant. Default writing style additionally requires libraries write capability and personal libraries approval, current persona/style administration, and voice_revision from the style read for a non-null voice_id; null clears the default. Every write requires confirm=true, Idempotency-Key and the exact settings revision. Stale proposals are rejected, never automatically refreshed. Current actor, policy, selected mailbox consent and target-style authority are checked before cached replay and after the effect. These local operations never call the mail provider or send email.

ID
listManagedPersonaSettings
CLI
vipoutreach api get /mail/administration/mailboxes/{mailbox_id}/personas
MCP
vipoutreach_api_request
Access
api:mail:administration:read
Field In Type What it is
mailbox_id * path string
per_page query integer Default: 25. From 1 to 100.
cursor query string Up to 4096 characters.

* required

Read exact sender settings

GET /api/v1/mail/administration/mailboxes/{mailbox_id}/personas/{persona_id}

Requires Custom mail_administration capability, personal approval for the exact administration_mailbox_ids and current Mail management policy. Settings consent and content consent are separate: no inbox access or provider credentials are returned. All IDs are public IDs. Grant replacement uses the COMPLETE desired current-team user list; omitted mailbox readers also lose dependent sender/collaboration access. Signatures use shared HTML sanitization. Alias enable is local activation only, not a reconnect or grant. Default writing style additionally requires libraries write capability and personal libraries approval, current persona/style administration, and voice_revision from the style read for a non-null voice_id; null clears the default. Every write requires confirm=true, Idempotency-Key and the exact settings revision. Stale proposals are rejected, never automatically refreshed. Current actor, policy, selected mailbox consent and target-style authority are checked before cached replay and after the effect. These local operations never call the mail provider or send email.

ID
getManagedPersonaSettings
CLI
vipoutreach api get /mail/administration/mailboxes/{mailbox_id}/personas/{persona_id}
MCP
vipoutreach_api_request
Access
api:mail:administration:read
Field In Type What it is
mailbox_id * path string
persona_id * path string

* required

Set or clear a sender default writing style; requires BOTH libraries and separately approved mailbox administration

PUT /api/v1/mail/administration/mailboxes/{mailbox_id}/personas/{persona_id}/default-voice

Requires Custom mail_administration capability, personal approval for the exact administration_mailbox_ids and current Mail management policy. Settings consent and content consent are separate: no inbox access or provider credentials are returned. All IDs are public IDs. Grant replacement uses the COMPLETE desired current-team user list; omitted mailbox readers also lose dependent sender/collaboration access. Signatures use shared HTML sanitization. Alias enable is local activation only, not a reconnect or grant. Default writing style additionally requires libraries write capability and personal libraries approval, current persona/style administration, and voice_revision from the style read for a non-null voice_id; null clears the default. Every write requires confirm=true, Idempotency-Key and the exact settings revision. Stale proposals are rejected, never automatically refreshed. Current actor, policy, selected mailbox consent and target-style authority are checked before cached replay and after the effect. These local operations never call the mail provider or send email.

ID
updateManagedPersonaDefaultVoice
MCP
vipoutreach_api_request
Access
api:mail:administration:write
Field In Type What it is
mailbox_id * path string
persona_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
voice_id * body string Can be null.
voice_revision body string Can be null.

* required

Enable an available-to-enable provider-discovered alias; not a reconnect and does not grant send-as access

POST /api/v1/mail/administration/mailboxes/{mailbox_id}/personas/{persona_id}/enable

Requires Custom mail_administration capability, personal approval for the exact administration_mailbox_ids and current Mail management policy. Settings consent and content consent are separate: no inbox access or provider credentials are returned. All IDs are public IDs. Grant replacement uses the COMPLETE desired current-team user list; omitted mailbox readers also lose dependent sender/collaboration access. Signatures use shared HTML sanitization. Alias enable is local activation only, not a reconnect or grant. Default writing style additionally requires libraries write capability and personal libraries approval, current persona/style administration, and voice_revision from the style read for a non-null voice_id; null clears the default. Every write requires confirm=true, Idempotency-Key and the exact settings revision. Stale proposals are rejected, never automatically refreshed. Current actor, policy, selected mailbox consent and target-style authority are checked before cached replay and after the effect. These local operations never call the mail provider or send email.

ID
updateManagedPersonaEnable
CLI
vipoutreach api post /mail/administration/mailboxes/{mailbox_id}/personas/{persona_id}/enable
MCP
vipoutreach_api_request
Access
api:mail:administration:write
Field In Type What it is
mailbox_id * path string
persona_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string

* required

Replace the complete sender send-as access list; every selected user must already have mailbox read access

PUT /api/v1/mail/administration/mailboxes/{mailbox_id}/personas/{persona_id}/grants

Requires Custom mail_administration capability, personal approval for the exact administration_mailbox_ids and current Mail management policy. Settings consent and content consent are separate: no inbox access or provider credentials are returned. All IDs are public IDs. Grant replacement uses the COMPLETE desired current-team user list; omitted mailbox readers also lose dependent sender/collaboration access. Signatures use shared HTML sanitization. Alias enable is local activation only, not a reconnect or grant. Default writing style additionally requires libraries write capability and personal libraries approval, current persona/style administration, and voice_revision from the style read for a non-null voice_id; null clears the default. Every write requires confirm=true, Idempotency-Key and the exact settings revision. Stale proposals are rejected, never automatically refreshed. Current actor, policy, selected mailbox consent and target-style authority are checked before cached replay and after the effect. These local operations never call the mail provider or send email.

ID
updateManagedPersonaGrants
MCP
vipoutreach_api_request
Access
api:mail:administration:write
Field In Type What it is
mailbox_id * path string
persona_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
user_ids * body array of string

* required

Set or clear a sender signature using sanitized HTML; does not send email

PUT /api/v1/mail/administration/mailboxes/{mailbox_id}/personas/{persona_id}/signature

Requires Custom mail_administration capability, personal approval for the exact administration_mailbox_ids and current Mail management policy. Settings consent and content consent are separate: no inbox access or provider credentials are returned. All IDs are public IDs. Grant replacement uses the COMPLETE desired current-team user list; omitted mailbox readers also lose dependent sender/collaboration access. Signatures use shared HTML sanitization. Alias enable is local activation only, not a reconnect or grant. Default writing style additionally requires libraries write capability and personal libraries approval, current persona/style administration, and voice_revision from the style read for a non-null voice_id; null clears the default. Every write requires confirm=true, Idempotency-Key and the exact settings revision. Stale proposals are rejected, never automatically refreshed. Current actor, policy, selected mailbox consent and target-style authority are checked before cached replay and after the effect. These local operations never call the mail provider or send email.

ID
updateManagedPersonaSignature
MCP
vipoutreach_api_request
Access
api:mail:administration:write
Field In Type What it is
mailbox_id * path string
persona_id * path string
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
signature_html * body string Up to 20000 characters. Can be null.

* required

Libraries: tags, snippets and more

List accessible snippets

GET /api/v1/mail/libraries/snippets

Requires explicitly selected Custom libraries read ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Results use stable ID ordering with actor/key/filter-bound cursors. Deleted resources are omitted.

ID
listMailLibrarySnippets
CLI
vipoutreach api get /mail/libraries/snippets
MCP
vipoutreach_api_request
Access
api:mail:libraries:read
Field In Type What it is
per_page query integer Default: 25. From 1 to 100.
cursor query string Up to 4096 characters.
query query string Up to 200 characters.
scope query string One of: personal, shared.
category query string Up to 120 characters.
tag query string Up to 64 characters.

* required

Create an accessible snippet

POST /api/v1/mail/libraries/snippets

Requires explicitly selected Custom libraries write ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Requires JSON confirm=true and an Idempotency-Key. Updates and lifecycle/grant changes require the exact reviewed revision; empty updates are rejected. Same-key identical retries return encrypted historical receipts without repeating effects, with fresh authority checks. New changes to deleted resources return resource_not_found.

ID
createMailLibrarySnippet
CLI
vipoutreach api post /mail/libraries/snippets
MCP
vipoutreach_api_request
Access
api:mail:libraries:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
scope * body string One of: personal, shared.
title * body string Up to 255 characters.
shortcut body string Up to 64 characters. Can be null.
body_text body string Up to 21000 characters. Can be null.
insertion_mode body string One of: literal, ai, dual.
ai_instructions body string Up to 5000 characters. Can be null.
ai_context_policy body object Can be null.
default_ai_behavior body string One of: literal, adapt.
category body string Up to 120 characters. Can be null.
tags body array Can be null.
sort_order body integer From 0 to 1000000. Can be null.
confirm * body boolean

* required

Read an accessible snippet

GET /api/v1/mail/libraries/snippets/{snippet_id}

Requires explicitly selected Custom libraries read ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Deleted resources return resource_not_found.

ID
getMailLibrarySnippet
CLI
vipoutreach api get /mail/libraries/snippets/{snippet_id}
MCP
vipoutreach_api_request
Access
api:mail:libraries:read
Field In Type What it is
snippet_id * path string

* required

Update an accessible snippet

PATCH /api/v1/mail/libraries/snippets/{snippet_id}

Requires explicitly selected Custom libraries write ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Requires JSON confirm=true and an Idempotency-Key. Updates and lifecycle/grant changes require the exact reviewed revision; empty updates are rejected. Same-key identical retries return encrypted historical receipts without repeating effects, with fresh authority checks. New changes to deleted resources return resource_not_found.

ID
updateMailLibrarySnippet
CLI
vipoutreach api patch /mail/libraries/snippets/{snippet_id}
MCP
vipoutreach_api_request
Access
api:mail:libraries:write
Field In Type What it is
snippet_id * path string
Idempotency-Key * header string Up to 255 characters.
scope body string One of: personal, shared.
title body string Up to 255 characters.
shortcut body string Up to 64 characters. Can be null.
body_text body string Up to 21000 characters.
insertion_mode body string One of: literal, ai, dual.
ai_instructions body string Up to 5000 characters. Can be null.
ai_context_policy body object Can be null.
default_ai_behavior body string One of: literal, adapt.
category body string Up to 120 characters. Can be null.
tags body array Can be null.
sort_order body integer From 0 to 1000000. Can be null.
revision * body string
confirm * body boolean

* required

Delete an accessible snippet

DELETE /api/v1/mail/libraries/snippets/{snippet_id}

Requires explicitly selected Custom libraries write ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Requires JSON confirm=true and an Idempotency-Key. Updates and lifecycle/grant changes require the exact reviewed revision; empty updates are rejected. Same-key identical retries return encrypted historical receipts without repeating effects, with fresh authority checks. New changes to deleted resources return resource_not_found.

ID
deleteMailLibrarySnippet
CLI
vipoutreach api delete /mail/libraries/snippets/{snippet_id}
MCP
vipoutreach_api_request
Access
api:mail:libraries:write
Field In Type What it is
snippet_id * path string
Idempotency-Key * header string Up to 255 characters.
revision * body string
confirm * body boolean

* required

List accessible writing styles

GET /api/v1/mail/libraries/voices

Requires explicitly selected Custom libraries read ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Results use stable ID ordering with actor/key/filter-bound cursors. Deleted resources are omitted.Role-only administrators receive metadata, never guidance/examples without a direct grant.

ID
listMailLibraryVoices
CLI
vipoutreach api get /mail/libraries/voices
MCP
vipoutreach_api_request
Access
api:mail:libraries:read
Field In Type What it is
per_page query integer Default: 25. From 1 to 100.
cursor query string Up to 4096 characters.
query query string Up to 200 characters.
archived query string One of: active, archived, all. Default: "active".

* required

Create an accessible writing style

POST /api/v1/mail/libraries/voices

Requires explicitly selected Custom libraries write ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Requires JSON confirm=true and an Idempotency-Key. Updates and lifecycle/grant changes require the exact reviewed revision; empty updates are rejected. Same-key identical retries return encrypted historical receipts without repeating effects, with fresh authority checks. New changes to deleted resources return resource_not_found. Role-only administrators receive metadata, never guidance/examples without a direct grant.

ID
createMailLibraryVoice
CLI
vipoutreach api post /mail/libraries/voices
MCP
vipoutreach_api_request
Access
api:mail:libraries:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
name * body string Up to 120 characters.
description body string Up to 500 characters. Can be null.
guidance_text * body string Up to 12000 characters.
example_text body string Up to 4000 characters. Can be null.
locale body string Up to 16 characters. Can be null.
confirm * body boolean

* required

Read an accessible writing style

GET /api/v1/mail/libraries/voices/{voice_id}

Requires explicitly selected Custom libraries read ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Deleted resources return resource_not_found. Role-only administrators receive metadata, never guidance/examples without a direct grant.

ID
getMailLibraryVoice
CLI
vipoutreach api get /mail/libraries/voices/{voice_id}
MCP
vipoutreach_api_request
Access
api:mail:libraries:read
Field In Type What it is
voice_id * path string

* required

Update an accessible writing style

PATCH /api/v1/mail/libraries/voices/{voice_id}

Requires explicitly selected Custom libraries write ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Requires JSON confirm=true and an Idempotency-Key. Updates and lifecycle/grant changes require the exact reviewed revision; empty updates are rejected. Same-key identical retries return encrypted historical receipts without repeating effects, with fresh authority checks. New changes to deleted resources return resource_not_found. Role-only administrators receive metadata, never guidance/examples without a direct grant.

ID
updateMailLibraryVoice
CLI
vipoutreach api patch /mail/libraries/voices/{voice_id}
MCP
vipoutreach_api_request
Access
api:mail:libraries:write
Field In Type What it is
voice_id * path string
Idempotency-Key * header string Up to 255 characters.
name body string Up to 120 characters.
description body string Up to 500 characters. Can be null.
guidance_text body string Up to 12000 characters.
example_text body string Up to 4000 characters. Can be null.
locale body string Up to 16 characters. Can be null.
revision * body string
confirm * body boolean

* required

Delete an accessible writing style

DELETE /api/v1/mail/libraries/voices/{voice_id}

Requires explicitly selected Custom libraries write ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Requires JSON confirm=true and an Idempotency-Key. Updates and lifecycle/grant changes require the exact reviewed revision; empty updates are rejected. Same-key identical retries return encrypted historical receipts without repeating effects, with fresh authority checks. New changes to deleted resources return resource_not_found. Role-only administrators receive metadata, never guidance/examples without a direct grant. Review personas_using_default before confirmation: archive/delete makes those senders fall back to neutral; restore makes their existing default available again. Restore only unarchives, never undeletes.

ID
deleteMailLibraryVoice
CLI
vipoutreach api delete /mail/libraries/voices/{voice_id}
MCP
vipoutreach_api_request
Access
api:mail:libraries:write
Field In Type What it is
voice_id * path string
Idempotency-Key * header string Up to 255 characters.
revision * body string
confirm * body boolean

* required

Archive an accessible writing style

POST /api/v1/mail/libraries/voices/{voice_id}/archive

Requires explicitly selected Custom libraries write ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Requires JSON confirm=true and an Idempotency-Key. Updates and lifecycle/grant changes require the exact reviewed revision; empty updates are rejected. Same-key identical retries return encrypted historical receipts without repeating effects, with fresh authority checks. New changes to deleted resources return resource_not_found. Role-only administrators receive metadata, never guidance/examples without a direct grant. Review personas_using_default before confirmation: archive/delete makes those senders fall back to neutral; restore makes their existing default available again. Restore only unarchives, never undeletes.

ID
archiveMailLibraryVoice
CLI
vipoutreach api post /mail/libraries/voices/{voice_id}/archive
MCP
vipoutreach_api_request
Access
api:mail:libraries:write
Field In Type What it is
voice_id * path string
Idempotency-Key * header string Up to 255 characters.
revision * body string
confirm * body boolean

* required

Replace access to an accessible writing style

PUT /api/v1/mail/libraries/voices/{voice_id}/grants

Requires explicitly selected Custom libraries write ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Requires JSON confirm=true and an Idempotency-Key. Updates and lifecycle/grant changes require the exact reviewed revision; empty updates are rejected. Same-key identical retries return encrypted historical receipts without repeating effects, with fresh authority checks. New changes to deleted resources return resource_not_found. Role-only administrators receive metadata, never guidance/examples without a direct grant. This replaces ALL direct grants. Omitted users lose access; select exposes guidance and manage permits editing. The content-free receipt remains replayable after self-removal while the original key retains library write consent.

ID
replaceMailLibraryVoiceGrants
MCP
vipoutreach_api_request
Access
api:mail:libraries:write
Field In Type What it is
voice_id * path string
Idempotency-Key * header string Up to 255 characters.
revision * body string
grants * body array of object
confirm * body boolean

* required

Restore an accessible writing style

POST /api/v1/mail/libraries/voices/{voice_id}/restore

Requires explicitly selected Custom libraries write ability and personal team-library approval. Current domain ownership and grants remain authoritative; no mailbox consent is implied. Requires JSON confirm=true and an Idempotency-Key. Updates and lifecycle/grant changes require the exact reviewed revision; empty updates are rejected. Same-key identical retries return encrypted historical receipts without repeating effects, with fresh authority checks. New changes to deleted resources return resource_not_found. Role-only administrators receive metadata, never guidance/examples without a direct grant. Review personas_using_default before confirmation: archive/delete makes those senders fall back to neutral; restore makes their existing default available again. Restore only unarchives, never undeletes.

ID
restoreMailLibraryVoice
CLI
vipoutreach api post /mail/libraries/voices/{voice_id}/restore
MCP
vipoutreach_api_request
Access
api:mail:libraries:write
Field In Type What it is
voice_id * path string
Idempotency-Key * header string Up to 255 characters.
revision * body string
confirm * body boolean

* required

Mail actions

List mailboxes

GET /api/v1/mail/mailboxes

Lists visible mailboxes for which the API key's bound visibility user has an explicit content grant. Provider account ids, credentials, metadata payloads, message content, and numeric ids are excluded.

ID
listMailMailboxes
CLI
vipoutreach api get /mail/mailboxes
MCP
vipoutreach_api_request
Access
api:mail:read
Field In Type What it is
Accept-Language header string
per_page query integer Default: 25. From 1 to 100.
cursor query string Up to 2048 characters.

* required

Show mailbox

GET /api/v1/mail/mailboxes/{mailbox_id}

Shows one granted visible mailbox and local folder summaries. Missing, malformed, cross-team, ungranted, hidden, and deleted mailboxes return resource_not_found after capability checks.

ID
getMailMailbox
CLI
vipoutreach api get /mail/mailboxes/{mailbox_id}
MCP
vipoutreach_api_request
Access
api:mail:read
Field In Type What it is
Accept-Language header string

* required

List mail threads

GET /api/v1/mail/threads

Lists thread summaries from granted visible mailboxes. Message bodies, headers, provider thread/message ids, attachment metadata, drafts, link internals, and numeric ids are excluded.

ID
listMailThreads
CLI
vipoutreach api get /mail/threads
MCP
vipoutreach_api_request
Access
api:mail:read
Field In Type What it is
Accept-Language header string
per_page query integer Default: 25. From 1 to 100.
cursor query string Up to 2048 characters.
mailbox_id query string
folder query string
status query string One of: active, pending.
assigned_user_id query string
tag_id query string
created_from query string
created_to query string
updated_from query string
updated_to query string

* required

Show mail thread

GET /api/v1/mail/threads/{thread_id}

Shows one granted visible thread summary. Missing, malformed, cross-team, ungranted, hidden, and deleted threads return resource_not_found after capability checks.

ID
getMailThread
CLI
vipoutreach api get /mail/threads/{thread_id}
MCP
vipoutreach_api_request
Access
api:mail:read
Field In Type What it is
Accept-Language header string

* required

Notification preferences

Read my mail notification preferences

GET /api/v1/mail/preferences

Requires explicit Custom mail_preferences capability and the bound user’s personal preferences approval. No mailbox is required and no content or administration authority is borrowed. Only the approving user is targeted; category/quiet/digest settings belong to this source team, but timezone changes affect the ENTIRE USER ACCOUNT across teams. Enabling digests authorizes FUTURE NOTIFICATION EMAILS. Categories update only submitted keys; quiet hours replace all windows in the saved account timezone, with ISO weekdays and 15-minute grid. Disabling digests clears frequency/minute/weekday. Enabled digests require frequency and preferred_send_minute; weekly requires weekly_weekday. Quiet hours and digests cannot be enabled without a valid saved timezone. Stored digest-only policies remain dormant when the feature is off. Every write requires confirm=true, Idempotency-Key and the exact revision from the read. No automatic stale revision refresh. Current key, actor, membership, consent, feature and interactive access are rechecked before replay and after effects.

ID
getMailNotificationPreferences
CLI
vipoutreach api get /mail/preferences
MCP
vipoutreach_api_request
Access
api:mail:preferences:read

Update my mail notification categories

PUT /api/v1/mail/preferences/categories

Requires explicit Custom mail_preferences capability and the bound user’s personal preferences approval. No mailbox is required and no content or administration authority is borrowed. Only the approving user is targeted; category/quiet/digest settings belong to this source team, but timezone changes affect the ENTIRE USER ACCOUNT across teams. Enabling digests authorizes FUTURE NOTIFICATION EMAILS. Categories update only submitted keys; quiet hours replace all windows in the saved account timezone, with ISO weekdays and 15-minute grid. Disabling digests clears frequency/minute/weekday. Enabled digests require frequency and preferred_send_minute; weekly requires weekly_weekday. Quiet hours and digests cannot be enabled without a valid saved timezone. Stored digest-only policies remain dormant when the feature is off. Every write requires confirm=true, Idempotency-Key and the exact revision from the read. No automatic stale revision refresh. Current key, actor, membership, consent, feature and interactive access are rechecked before replay and after effects.

ID
updateMailNotificationCategories
MCP
vipoutreach_api_request
Access
api:mail:preferences:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
policies * body object

* required

Update my mail notification digest schedule

PUT /api/v1/mail/preferences/digest-schedule

Requires explicit Custom mail_preferences capability and the bound user’s personal preferences approval. No mailbox is required and no content or administration authority is borrowed. Only the approving user is targeted; category/quiet/digest settings belong to this source team, but timezone changes affect the ENTIRE USER ACCOUNT across teams. Enabling digests authorizes FUTURE NOTIFICATION EMAILS. Categories update only submitted keys; quiet hours replace all windows in the saved account timezone, with ISO weekdays and 15-minute grid. Disabling digests clears frequency/minute/weekday. Enabled digests require frequency and preferred_send_minute; weekly requires weekly_weekday. Quiet hours and digests cannot be enabled without a valid saved timezone. Stored digest-only policies remain dormant when the feature is off. Every write requires confirm=true, Idempotency-Key and the exact revision from the read. No automatic stale revision refresh. Current key, actor, membership, consent, feature and interactive access are rechecked before replay and after effects.

ID
updateMailNotificationDigestSchedule
MCP
vipoutreach_api_request
Access
api:mail:preferences:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
enabled * body boolean
frequency body string One of: daily, weekly. Can be null.
preferred_send_minute body integer From 0 to 1425. Can be null.
weekly_weekday body integer From 1 to 7. Can be null.

* required

Update my mail notification quiet hours

PUT /api/v1/mail/preferences/quiet-hours

Requires explicit Custom mail_preferences capability and the bound user’s personal preferences approval. No mailbox is required and no content or administration authority is borrowed. Only the approving user is targeted; category/quiet/digest settings belong to this source team, but timezone changes affect the ENTIRE USER ACCOUNT across teams. Enabling digests authorizes FUTURE NOTIFICATION EMAILS. Categories update only submitted keys; quiet hours replace all windows in the saved account timezone, with ISO weekdays and 15-minute grid. Disabling digests clears frequency/minute/weekday. Enabled digests require frequency and preferred_send_minute; weekly requires weekly_weekday. Quiet hours and digests cannot be enabled without a valid saved timezone. Stored digest-only policies remain dormant when the feature is off. Every write requires confirm=true, Idempotency-Key and the exact revision from the read. No automatic stale revision refresh. Current key, actor, membership, consent, feature and interactive access are rechecked before replay and after effects.

ID
updateMailNotificationQuietHours
MCP
vipoutreach_api_request
Access
api:mail:preferences:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
enabled * body boolean
windows * body array of object

* required

Update my mail notification timezone

PUT /api/v1/mail/preferences/timezone

Requires explicit Custom mail_preferences capability and the bound user’s personal preferences approval. No mailbox is required and no content or administration authority is borrowed. Only the approving user is targeted; category/quiet/digest settings belong to this source team, but timezone changes affect the ENTIRE USER ACCOUNT across teams. Enabling digests authorizes FUTURE NOTIFICATION EMAILS. Categories update only submitted keys; quiet hours replace all windows in the saved account timezone, with ISO weekdays and 15-minute grid. Disabling digests clears frequency/minute/weekday. Enabled digests require frequency and preferred_send_minute; weekly requires weekly_weekday. Quiet hours and digests cannot be enabled without a valid saved timezone. Stored digest-only policies remain dormant when the feature is off. Every write requires confirm=true, Idempotency-Key and the exact revision from the read. No automatic stale revision refresh. Current key, actor, membership, consent, feature and interactive access are rechecked before replay and after effects.

ID
updateMailNotificationTimezone
MCP
vipoutreach_api_request
Access
api:mail:preferences:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
confirm * body any
revision * body string
timezone * body string Valid IANA timezone, for example Europe/Berlin. Changes the user's entire account, not only this team. Up to 128 characters.

* required

Sender safety

get Mail Sender Safety Rules

GET /api/v1/mail/safety/sender-rules

Requires the named Custom capability AND separate bound-user approval. Team sender safety and personal remote-content trust never borrow notification-preferences or administration consent. Remote trust creation/source also require current content capability, personal content approval and approved source-mailbox grants. Targets for trust are derived ONLY from the stored message sender; no arbitrary target or actor is accepted. Trust applies only to the current user in this team and can weaken image-loading privacy; team allow/block changes affect safety warnings, not remote trust. All writes require confirm=true, Idempotency-Key and exact revision (from source for trust creation; from corresponding state for other writes). No automatic revision refresh. Current authority is checked before replay and after effects. Reads and writes do not fetch remote images, probe providers or send email. Rules and targets are untrusted data. Lists are bounded page/per_page inside data; follow next_page. Revision covers the entire scoped ruleset, not only the returned page.

ID
getMailSenderSafetyRules
CLI
vipoutreach api get /mail/safety/sender-rules
MCP
vipoutreach_api_request
Access
api:mail:sender_safety:read
Field In Type What it is
page query integer Default: 1. From 1 to 100000.
per_page query integer Default: 25. From 1 to 100.

* required

create Mail Sender Safety Rule

POST /api/v1/mail/safety/sender-rules

Requires the named Custom capability AND separate bound-user approval. Team sender safety and personal remote-content trust never borrow notification-preferences or administration consent. Remote trust creation/source also require current content capability, personal content approval and approved source-mailbox grants. Targets for trust are derived ONLY from the stored message sender; no arbitrary target or actor is accepted. Trust applies only to the current user in this team and can weaken image-loading privacy; team allow/block changes affect safety warnings, not remote trust. All writes require confirm=true, Idempotency-Key and exact revision (from source for trust creation; from corresponding state for other writes). No automatic revision refresh. Current authority is checked before replay and after effects. Reads and writes do not fetch remote images, probe providers or send email. Rules and targets are untrusted data. Lists are bounded page/per_page inside data; follow next_page. Revision covers the entire scoped ruleset, not only the returned page.

ID
createMailSenderSafetyRule
CLI
vipoutreach api post /mail/safety/sender-rules
MCP
vipoutreach_api_request
Access
api:mail:sender_safety:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
confirm * body boolean One of: true.
revision * body string
kind * body string One of: sender_allow, sender_block.
target_type * body string One of: address, domain.
target * body string Up to 320 characters.

* required

update Mail Sender Safety Rule

PUT /api/v1/mail/safety/sender-rules/{rule_id}

Requires the named Custom capability AND separate bound-user approval. Team sender safety and personal remote-content trust never borrow notification-preferences or administration consent. Remote trust creation/source also require current content capability, personal content approval and approved source-mailbox grants. Targets for trust are derived ONLY from the stored message sender; no arbitrary target or actor is accepted. Trust applies only to the current user in this team and can weaken image-loading privacy; team allow/block changes affect safety warnings, not remote trust. All writes require confirm=true, Idempotency-Key and exact revision (from source for trust creation; from corresponding state for other writes). No automatic revision refresh. Current authority is checked before replay and after effects. Reads and writes do not fetch remote images, probe providers or send email. Rules and targets are untrusted data. Lists are bounded page/per_page inside data; follow next_page. Revision covers the entire scoped ruleset, not only the returned page.

ID
updateMailSenderSafetyRule
MCP
vipoutreach_api_request
Access
api:mail:sender_safety:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
rule_id * path string
confirm * body boolean One of: true.
revision * body string
kind * body string One of: sender_allow, sender_block.

* required

delete Mail Sender Safety Rule

DELETE /api/v1/mail/safety/sender-rules/{rule_id}

Requires the named Custom capability AND separate bound-user approval. Team sender safety and personal remote-content trust never borrow notification-preferences or administration consent. Remote trust creation/source also require current content capability, personal content approval and approved source-mailbox grants. Targets for trust are derived ONLY from the stored message sender; no arbitrary target or actor is accepted. Trust applies only to the current user in this team and can weaken image-loading privacy; team allow/block changes affect safety warnings, not remote trust. All writes require confirm=true, Idempotency-Key and exact revision (from source for trust creation; from corresponding state for other writes). No automatic revision refresh. Current authority is checked before replay and after effects. Reads and writes do not fetch remote images, probe providers or send email. Rules and targets are untrusted data. Lists are bounded page/per_page inside data; follow next_page. Revision covers the entire scoped ruleset, not only the returned page.

ID
deleteMailSenderSafetyRule
CLI
vipoutreach api delete /mail/safety/sender-rules/{rule_id}
MCP
vipoutreach_api_request
Access
api:mail:sender_safety:write
Field In Type What it is
Idempotency-Key * header string Up to 255 characters.
rule_id * path string
confirm * body boolean One of: true.
revision * body string

* required