Skip to content

Manage Users & Roles

The Users page in the admin UI lists everyone who can sign in to your ServerlessInbox deployment. From here you can view a user’s details, change their rights, and delete users.

If your deployment uses an external identity provider (for example Cognito), the Users page also shows identity-provider accounts that don’t have a mailbox yet — labeled Pending sign-in — alongside regular mailbox users.

Creating a mailbox user is a two-step process: you create the identity-provider account, and the mailbox itself is created automatically the first time that person signs in. There is no direct “create mailbox” call — a mailbox always comes from a sign-in.

  1. Create the identity-provider account. In the Admin UI, add a new user from the Users page (or call IdpUsersService.CreateIdpUser on the Admin API directly, with a username, an optional contact email, and a temporary password). The new entry appears immediately on the Users page, labeled Pending sign-in — it has a sign-in identity but no mailbox yet.
  2. The person signs in for the first time. On their first successful sign-in (webmail, admin UI, or any JMAP client), the mailbox is provisioned automatically: a mailbox user and primary account are created, mail capabilities are set up, and a welcome email is deposited straight into their new Inbox. The Pending sign-in label disappears from the Users page once this has happened, and the entry becomes a regular mailbox user.
  3. The receiving address is <username>@<your mail domain>, not the email field from step 1. The username you chose in step 1 becomes the local part, and the domain is always your deployment’s primary mail domain (the one derived from your Route 53 hosted zone at install time) — the email field on CreateIdpUser is contact metadata only and does not determine the mailbox address. This address becomes the account’s primary alias automatically as soon as the mailbox is provisioned, whether or not the domain’s mail DNS records have been applied yet — the alias is created unconditionally. (Mail cannot actually be delivered to it until the domain’s DNS records are in place; see Install ServerlessInbox Standard: post-deploy steps.) You can add further receiving addresses for the same account afterwards with AliasesService.CreateAlias.

Select a user and choose Delete. The confirmation dialog offers two independent options:

  • Permanently purge all user data — when checked, also destroys the user’s primary account and all associated emails and mailbox data. This is irreversible.
  • Also delete from identity provider — shown only when the user has a linked identity-provider account, and checked by default. When checked, deleting the user also removes the corresponding identity-provider account, so the person can no longer sign in at all.

These two options are independent: you can purge mailbox data without removing the identity-provider account, or vice versa, by unchecking the checkbox you don’t want.

The identity-provider deletion is best-effort. If the mailbox user is deleted successfully but removing the identity-provider account fails, the mailbox deletion still stands and you’ll see a warning that the identity-provider account could not be removed — you can retry removing it separately from the identity-provider side.

A Pending sign-in entry is an identity-provider account that has never signed in and so has no linked mailbox user. Since there’s no mailbox data involved, deleting it only asks for a lightweight confirmation before removing the identity-provider account.