Email status panel
The grouped sections of the email settings screen: a status sentence, the address field and its button, then the verification help and the turn off row that appear only when they apply.

The email status panel is the working part of the email notification settings. It is a small stack of grouped list sections that grows and shrinks with the state of the address: off, pending, expired or verified.

Used by

Where

How

Email notification settings (ActivityEmailScreen)

The whole body of the screen once the settings have loaded

It appears nowhere else.

Pending: the status "Pending verification: reader@example.com", the address in the field, "Change", the footer, then the help card with "Resend verification email" and the "Turn off email notifications" card.
Verified: the status reads "Verified: reader@example.com" and the help card is gone. From an earlier build with a blue tint; the current app tints the button rows brand teal.

Data it shows

Field

Meaning

emailStatus

The status sentence

emailState

"off", "pending", "expired" or "verified": decides which sections exist

email

The saved address: decides the button's title and the removal row

draft

What is typed in the field

saving

Disables the field and the buttons

Anatomy

Section "Email" (always):

    The status sentence, body size, label colour, wrapping for long addresses.

    An email input: type="email", placeholder "you@example.com", accessibility label "Email address".

    A plain button row: "Enable" or "Change".

    A section footer: "We'll send a link to verify your address before emailing you notifications."

Help section (pending or expired):

    A sentence in secondary colour.

    A button row "Resend verification email".

Removal section (an address is saved):

    A button row "Turn off email notifications".

Variants and states

State

Status sentence

Button

Help sentence

Removal row

Off

"No email configured"

"Enable"

None

No

Pending

"Pending verification: you@example.com"

"Change"

"Check your inbox and open the verification link. This screen updates automatically."

Yes

Expired

"Pending verification: you@example.com (link expired)"

"Change"

"Your verification link expired. Request a new email to finish setup."

Yes

Verified

"Verified: you@example.com"

"Change"

None

Yes

"Enable" and "Change" are disabled while the field is empty. Everything is disabled while a change is being saved.

Rules for use

    Lead with the state in words, then the control that changes it.

    Add a section when a state needs an explanation or an action. Do not show a disabled row for an action that does not apply.

    Put the explanation of consequences in the section footer, as Settings does (Forms and inputs).

Why it looks this way

    It is a Settings group. Status, field, action, footer: the platform's inset grouped form, with nothing custom drawn (Leave it unsaid, Lists).

    State as a sentence. A badge or a coloured dot would need a legend. "Pending verification: …" needs none, and it repeats the address so the person can spot a typo (Voice and wording).

    Sections appear with their reason. This is the same idea as an empty state naming its next step: each state shows only what can be done now (Honest state, Loading, failure and empty states).

    It shares a shape with the vault's status. A status line, then actions that depend on it, is also how the Vault status panel works (inferred from the similar structure; they do not share code).

Gaps: the removal row is not marked destructive and has no confirmation, and nothing but the status sentence distinguishes verified from pending (no colour or symbol).

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime