All help articles

Zappocity customers, products and subscriptions

Zappocity is the central site for every product it sells. It keeps the customers and what they buy; each product (Mailocity today) carries that out. See the platform design for where this is going: single sign-on, billing, coupons, rewards and support for every product.

The pieces

In short: an organization pays, a person signs in, a mailbox receives mail.

In the admin panel

Customers finds organizations, people and mailboxes with one search (name, email, address, tenant or customer number such as C-1042), in tabs: All, Organizations, People and Mailboxes, each with how many matched. It adds people and organizations. An organization's page shows its members (change a role or remove someone), its subscriptions and their history; a person's page shows their organizations and the Mailboxes they sign in to; a mailbox's page (under Mailboxes) shows the Zappocity account that signs in to it and that person's organizations.

Every tenant has an organization

Every active Mailocity tenant belongs to a Zappocity organization, as one made through Zappocity does. For a tenant made any other way (Mailocity's sign-up and join pages, the admin API, before Zappocity accounts), the account sync job makes one within a minute:

A suspended tenant gets its organization once it is active again. A tenant whose subscription was canceled keeps its organization and gets no new subscription until one adopts it. The organization appears under Customers with the rest; the history says it was made for the tenant.

Members, roles and names stay the same

The account sync (every minute) keeps an organization and its Mailocity tenants the same, both ways:

Removing on Zappocity a member who has a mailbox in one of the organization's tenants is refused: delete the mailbox in Mailocity, or unlink it from the Zappocity account, first. When a tenant moves to another organization (its subscription canceled and adopted from the other), its people move with it, and leave the old one.

Merging duplicates

When one company was recorded as two organizations, or one person has two Zappocity accounts, merge them. On the page of the one to keep, choose Merge a duplicate at the top (or scroll to Merge a duplicate into this one), search for the other, choose Merge into ... and type MERGE.

A mailbox linked to the wrong person

A mailbox is linked to the Zappocity account that signs in to it. To take it away (such as a tenant's mailbox merged into someone's personal account), use Unlink next to it in the person's Mailboxes card, or Unlink from ... on the mailbox's page under Mailboxes (corpsuite mailbox zappocity unlink USER). That person can no longer open it with their Zappocity sign-in, and its webmail sessions end. Within a minute the account sync gives the mailbox a Zappocity account of its own address and password, as it does for any mailbox. Memberships that moved with a merge stay: remove the person from the tenant's organization on its page if they should not be in it.

From the command line: corpsuite zappocity org merge ORG-ID from=OTHER-ORG-ID and corpsuite zappocity person merge PERSON-ID from=OTHER-PERSON-ID.

Products sets each product's name, status, site and description, and each plan's prices. Only a product with a module on this server can be Available.

Every change is recorded in a history that cannot be edited, with who made it: the History card on each page, or corpsuite zappocity audit.

From the command line

sudo corpsuite zappocity person add email=amy@acme.com name="Amy" verified:=true
sudo corpsuite zappocity org add name="Acme" owner=amy@acme.com
sudo corpsuite zappocity subscribe ORG-ID product=mailocity plan=team period=year
sudo corpsuite zappocity subscribe ORG-ID product=mailocity resourceRef=TENANT-ID
sudo corpsuite zappocity price set mailocity team month:=1200 year:=12000
sudo corpsuite zappocity subscription set SUBSCRIPTION-ID status=canceled
sudo corpsuite zappocity org merge KEEP-ORG-ID from=DUPLICATE-ORG-ID
sudo corpsuite zappocity person merge KEEP-PERSON-ID from=DUPLICATE-PERSON-ID

The API is described in api/platform.yaml (/v1/platform). Staff need read to look, plans to change products and prices, and tenants for the rest. Tenants cannot use it.

Signing in to Zappocity

The account page is /account on the Zappocity host (such as https://zappo.city/account; the homepage's Sign in goes there). People can:

Zappocity's mail (confirmation and reset links) comes from the platform's notice address (noticeFrom in the settings) under the name Zappocity.

Not yet

Nothing is charged yet: billing, coupons and rewards come next. Single sign-on is described in One sign-in for everything.