Sign-in methods
Sign in with Google or a 6-digit code by email. Each method is a connection to the same account; a first sign-in matches your account by verified email, or makes a new one. To add a method, sign in as usual and add it on the Account page.
- You can't remove the last connection (
409 last_connection). - The primary connection's address gets billing notices.
- Email codes work once, for 10 minutes; 5 wrong tries end one. Requests are rate limited per address and network (
429 rate_limited).
$ tokenmail connections # id, method, address, primary
$ tokenmail connections add-email you@work.com # asks for the emailed code
$ tokenmail connections primary con_…
$ tokenmail connections rm con_…Organizations
An organization is a team workspace with its own inboxes, inbox subscription, keys and webhooks. Your account stays your personal workspace.
$ tokenmail org create Acme # you become owner
$ tokenmail org switch acme # the CLI, account keys and MCP now act in Acme
$ tokenmail org invite dana@example.com # emails a link (7 days, one use)
$ tokenmail org members # members and invites
$ tokenmail --org personal list # one command in your own account
$ tokenmail org switch personalWhich workspace a request uses: an organization key's org; else the X-Froog-Org header (id, name or personal; CLI --org / TOKENMAIL_ORG); else your active org; else personal. Unknown name: 404 org_not_found.
| Role | Can |
|---|---|
member | Use inboxes, read billing, make their own org keys |
admin | Also members, webhooks, inboxes (can add paid seats), the audit log, all org keys |
owner | Also billing, seats, roles, admins, rename, transfer, delete. One per org |
Without the role: 403 org_role_forbidden. Invite links work once for 7 days; the invitee signs in and joins, or runs tokenmail org accept TOKEN. Removing a member or leaving stops their org keys at once. The owner can't leave: tokenmail org transfer EMAIL first. A key made in an org acts only there, as its creator, and can't touch billing, keys or webhooks (403 api_key_org_forbidden). tokenmail org delete (owner, last member) ends its subscription without refund.
Audit log
Every change to the account is recorded for 90 days: API keys, inboxes, domains, webhooks, billing. Reads and failed requests aren't. Each entry has the actor (API key id and name, or session), time, IP and X-Request-Id; an organization's entries name the member.
$ tokenmail audit --limit 20
$ tokenmail audit --export csv > audit.csv # or ndjson, oldest firstAPI: GET /v1/audit (filters action, since, until, cursor), GET /v1/audit/export?format=csv|ndjson. Needs account.admin. Entries never hold secret values.
Close your account
tokenmail account close, the dashboard, or POST /v1/account/close with X-Froog-Confirm-Close: YOUR_EMAIL. It ends the inbox subscription without refund, revokes every key and other session, and emails you the erasure date. For 30 days you can sign in and tokenmail account reopen; anything else answers 403 account_closed. Then inboxes, mail and personal data are erased, keeping anonymous usage and invoice records. Track the erasure with tokenmail deletion status dop_….