Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Email

Email is optional. Without it, invites still work: admins copy the invite link from the app or the dashboard and send it themselves. With it, Qubit also sends:
  • Invites, with a link to QUBIT_PUBLIC_URL/invite/<token>.
  • Sign-in links for the web dashboard (subject "Sign in to Qubit"), valid for 15 minutes and usable once. See Sign in.
  • Test emails, from the setup wizard and the Server page.
Sign-in links also need the server to know where the dashboard is: QUBIT_WEB_URL, else QUBIT_PUBLIC_URL.

Two ways to configure it

In the dashboard
In the setup wizard or on the Server page. Secrets are stored in the database, encrypted under QUBIT_SECRET_KEY.
With environment variables
QUBIT_SMTP_URL and QUBIT_SMTP_FROM. These win, and make the dashboard's email settings read-only.

In the dashboard

Pick a provider:
ProviderYou enter
Amazon SESRegion, access key ID, secret access key, from address. The server derives the SES SMTP password from the secret key itself and sends through email-smtp.<region>.amazonaws.com:465. See the Amazon SES guide.
SMTPHost, port, security (tls on 465, starttls, or none), username, password, from address.
The server connects and signs in to the provider before it saves, and shows the provider's error if that fails, for example 535 Authentication Credentials Invalid. When you edit saved settings, you can leave the secret or password empty to keep the stored one.
Changing email settings needs a full session: sign in with your master password, not a sign-in link.

With environment variables

QUBIT_SMTP_URL='smtps://<user>:<password>@smtp.example.com:465' QUBIT_SMTP_FROM='Qubit <[email protected]>'
Two URL forms work:
The right form for Amazon SES.
QUBIT_SMTP_URL='smtps://AKIAEXAMPLE:<percent-encoded password>@email-smtp.us-east-1.amazonaws.com:465'
Percent-encode the username and password: SES secrets often contain /, + or =.
python3 -c 'import urllib.parse,sys;print(urllib.parse.quote(sys.argv[1],safe=""))' 'the-password'
QUBIT_SMTP_FROM is required with QUBIT_SMTP_URL. The sender's domain must be verified with your provider.

The EHLO name

The server introduces itself with QUBIT_SMTP_HELO, or the host of QUBIT_PUBLIC_URL when that is unset. Some relays, Amazon SES among them, drop the connection when the name is localhost or a bare hostname, so use a fully qualified domain name.

Invite emails

An invite email links to QUBIT_PUBLIC_URL/invite/<token>. That page shows the invite's token and the server's address. The invitee signs in to that server in Qubit, then pastes the link into Join with invite. See Invites.