thunderbird_accounts.mail.views

Functions

contact(request)

Contact page for support requests (uses ZenDesk's API) A user can always access this page even if they don't have a mail account setup since they might encounter problems before the mail account setup itself.

contact_fields(request)

Get ticket fields from Zendesk API and filter for fields with custom options.

contact_submit(request)

Uses Zendesk's Requests API to create a ticket Ref https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#tickets-and-requests

home(request)

raise_form_error(request, to_view, error_message)

Puts the error message into the message bag and redirects to a named view.

self_serve(request)

self_serve_account_settings(request)

Account Settings page for Self Serve A user can always access this page even if they don't have a mail account setup.

self_serve_app_password_add(request)

self_serve_app_password_remove(request)

self_serve_app_passwords(request)

App Password page for Self Serve A user can create (if none exists), or delete an App Password which is used to connect to the mail server.

self_serve_common_options(...)

Common return params for self serve pages

self_serve_connection_info(request)

Connection Info page for Self Serve This page displays information relating to the connection settings that a user may need to connect an external mail client.

self_serve_subscription_success(request)

Subscription page allowing user to select plan tier and do checkout via Paddle.js overlay

sign_up(request)

sign_up_submit(request)

wait_list(request)

thunderbird_accounts.mail.views.raise_form_error(request, to_view: str, error_message: str)[source]

Puts the error message into the message bag and redirects to a named view.

thunderbird_accounts.mail.views.self_serve_common_options(is_account_settings: bool, user: User, account: Account)[source]

Common return params for self serve pages

thunderbird_accounts.mail.views.contact(request: HttpRequest)

Contact page for support requests (uses ZenDesk’s API) A user can always access this page even if they don’t have a mail account setup since they might encounter problems before the mail account setup itself.

thunderbird_accounts.mail.views.contact_fields(request: HttpRequest)

Get ticket fields from Zendesk API and filter for fields with custom options.

thunderbird_accounts.mail.views.contact_submit(request: HttpRequest)

Uses Zendesk’s Requests API to create a ticket Ref https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#tickets-and-requests

thunderbird_accounts.mail.views.self_serve_account_settings(request: HttpRequest)

Account Settings page for Self Serve A user can always access this page even if they don’t have a mail account setup. This way they can delete their account if they wish, or create an account.

thunderbird_accounts.mail.views.self_serve_connection_info(request: HttpRequest)

Connection Info page for Self Serve This page displays information relating to the connection settings that a user may need to connect an external mail client.

thunderbird_accounts.mail.views.self_serve_subscription_success(request: HttpRequest)

Subscription page allowing user to select plan tier and do checkout via Paddle.js overlay

thunderbird_accounts.mail.views.self_serve_app_passwords(request: HttpRequest)

App Password page for Self Serve A user can create (if none exists), or delete an App Password which is used to connect to the mail server.