Skip to content
Tinbox

Configure consistent sender names

Read and update an inbox's sender identity through the same permission-gated configuration API used by agents.

Agents and the inbox composer use the account's configured sender name. The message author does not need to specify one. The per-address sending identity is authoritative, followed by deployment sending defaults and the inbox label. Changing this configuration affects future messages. It does not rewrite email already delivered to a recipient.

Read the effective configuration

tinbox get-inbox-sender-config --inboxId ibx_support --json

Or use the advanced SDK API:

const config = await tinbox.api.inboxes.getSenderConfig.query({
  inboxId: "ibx_support",
});

The response identifies the primary address and concrete existing aliases, the selected address, the inbox label, the configured sender identity, and the effective display name, name source, and Reply-To. Omit address to select the primary address, or pass an existing alias. Reading requires access to the inbox. Chat and MCP expose the same read as get_inbox_sender_config; within a conversation, its inbox scope takes precedence over a supplied inbox id.

Update the sender identity

tinbox update-inbox-sender-config --inboxId ibx_support \
  --displayName "Acme Customer Care" --json
const updated = await tinbox.api.inboxes.updateSenderConfig.mutate({
  inboxId: "ibx_support",
  displayName: "Acme Customer Care",
});

The returned configuration includes the effective values after the update. The name is shared by API sends, new messages from the composer, and replies. The inbox's label stays independent. Addresses are normalized to lowercase; names keep their capitalization.

replyTo is optional. Omitting it preserves the identity's existing value. Passing a valid email changes it; passing null clears the identity override and inherits the deployment default. The read response distinguishes the configured value from the effective result.

Campaign sender addresses and names

Campaign delivery resolves the configured name for the address the sending lane actually selects. Cold outreach keeps the campaign's fromEmail and its existing domain/transport checks. Warm broadcasts and warm test sends currently select the deployment's NEWSLETTER_FROM, not the campaign row's fromEmail. This is an existing address-selection limitation; configuring a name does not switch the sending address or move a message to another transport lane.

The selected address is lowercase, and its registered identity/default name wins over an old campaign or environment display name. A warm test and its fan-out use the same identity resolution. Confirm the selected address in the lane's configuration before preparing a campaign.

Delegate the permission

A user who administers the inbox can update its sender identity. A token needs all three of the following:

  • A read grant on the target inbox.
  • A write-class scope (write, admin, or *).
  • The explicit inbox:configure_sender capability scoped to that inbox or globally across the inboxes that token can access.

A human organization admin can use the existing configuration admin API to grant the capability to the token principal (its key id):

await admin.api.capabilities.grant.mutate({
  principal: "key_agent",
  capability: "inbox:configure_sender",
  inboxId: "ibx_support",
});

Pass inboxId to delegate only this inbox. Omitting it grants globally across the principal's accessible inboxes. The optional scope is available only for inbox:configure_sender; other standing capability verbs keep their existing global behavior. Use the same inboxId with capabilities.listFor or capabilities.revoke to inspect or revoke only that scope. Capability grant/revoke and credential administration are not exposed as agent tools. A token cannot grant this capability to itself. The normal token verification still rejects expired or revoked keys.

The update_inbox_sender_config tool is a reversible configuration write and can run without an extra destructive-action confirmation once its permission checks pass. It edits only displayName and optional replyTo for an existing concrete primary/alias address on an active, verified sending domain. It can create the corresponding sending identity record if none exists. It cannot change routes, addresses, grants, domains, enabled state, or delete anything. Send-only API keys are insufficient for configuration or inbox reads.