{{#if user_has_email_set}}
{{> ../components/icon_button id="change_email_button" icon="edit" intent="neutral" custom_classes="tippy-zulip-delayed-tooltip" hidden=(not user_can_change_email) aria-label=(t "Change your email") data-tippy-content=(t "Change your email") }}
{{else}} {{! Demo organizations before the owner has configured an email address. }}

{{#tr}} Add your email to invite other users or convert to a permanent Zulip organization. {{#*inline "z-link-invite-users-help"}}{{> @partial-block}}{{/inline}} {{#*inline "z-link-convert-demo-organization-help"}}{{> @partial-block}}{{/inline}} {{/tr}}

{{> ../components/action_button id="demo_organization_add_email_button" label=(t "Add email") attention="quiet" intent="brand" }}
{{/if}}
{{#if page_params.two_fa_enabled }}

{{t "Two factor authentication" }}: {{#if page_params.two_fa_enabled_user }}{{t "Enabled" }}{{else}}{{t "Disabled" }}{{/if}} [{{t "Setup" }}]

{{/if}}
{{#if user_can_change_password}}
{{> ../components/action_button label=(t "Change your password") attention="quiet" intent="neutral" id="change_password" }}
{{/if}}
{{> ../components/action_button label=(t "Deactivate account") attention="quiet" intent="danger" id="user_deactivate_account_button" disabled=user_is_only_organization_owner }}
{{#if owner_is_only_user_in_organization}} {{> ../components/action_button label=(t "Deactivate organization") attention="quiet" intent="danger" custom_classes="deactivate_realm_button inline-block" }} {{/if}}
{{> privacy_settings . for_realm_settings=false prefix="user_" read_receipts_help_icon_tooltip_text=send_read_receipts_tooltip hide_read_receipts_tooltip=realm.realm_enable_read_receipts}}

{{t "API key" }}

{{#tr}} An API key can be used to programmatically access a Zulip account. Anyone with access to your API key has the ability to read your messages, send messages on your behalf, and otherwise impersonate you on Zulip, so you should guard your API key as carefully as you guard your password.
We recommend creating bots and using the bots' accounts and API keys to access the Zulip API, unless the task requires access to your account. {{/tr}}

{{> ../components/action_button label=(t "Manage your API key") attention="quiet" intent="neutral" id="api_key_button" disabled=(not user_has_email_set) }}