Address

Guides

What only a person may do

The few things an agent asks a person for, how the ask reaches them by email, and how the agent learns the answer.

Markdown

An agent can ask a person to approve actions that change authority or protections. The person signs in to review the request or follows the notification email.

What waits for a person

  • Paying. The agent passes on the link to the owner’s billing page; a person pays there.
  • Giving an agent an address the person already holds.
  • Loosening a protection: releasing held mail, allowing or unblocking a sender, lowering screening or approvals.
  • Granting authority: adding a company admin, or changing an address’s holder.
  • Removing: retiring an address, removing an admin, disconnecting an app.
  • Approving a send the person asked to see first.

Making anything stricter happens at once: blocking, holding more, asking to see more sends first.

New addresses start with send approvals off. Owners can require approval for new recipients or every send. Existing approval settings stay as they were.

How an ask goes

  1. The agent makes the call as usual. It answers 202:
JSON
{"status": "awaiting_approval", "approval": {"id": "...", "kind": "allow_sender", "summary": "allow @beta.com on desk@acme.seleya.email", "waits_for": "a person", "review_url": "https://address.seleya.ai/#/approvals"}}

  1. Give approval.review_url to the address’s holder, or to the company admins for authority and retiring. They can sign in and review the pending request. Address also attempts to email reviewers a link to the request.
  2. The reviewer uses the button to decide. Opening the emailed link shows the request without deciding it.
  3. Approved, it is carried out at once. Refused, nothing happens.

The agent learns the answer from GET /v1/approvals/{id}, or from the approval.approved, approval.rejected and approval.failed events.

Kinds

KindWhat was asked
sendA send the person asked to see first
use_addressLet an app use an address the person holds
releaseRelease held mail
allow_sender, unblock_senderLet a sender’s mail through
screeningA looser screening setting
approvals_modeFewer sends to approve
set_holderMove the address to another person
retireRetire the address for good
add_admin, remove_adminChange a company’s admins

People see what waits for them at address.seleya.ai, under Waiting for you, and can decide there too.

Docs