thunderbird_accounts.mail.utils

Functions

add_email_addresses_to_stalwart_account(...)

create_stalwart_account(user[, app_password])

decode_app_password(secret)

delete_email_addresses_from_stalwart_account(...)

is_allowed_domain(email_address)

Pass in an email address and see if it's a valid / allowed email domain

replace_email_addresses_on_stalwart_account(...)

save_app_password(label, password)

Hashes a given password, formats it with the label and saves it to the secret field.

thunderbird_accounts.mail.utils.save_app_password(label, password)[source]

Hashes a given password, formats it with the label and saves it to the secret field.

thunderbird_accounts.mail.utils.is_allowed_domain(email_address: str) bool[source]

Pass in an email address and see if it’s a valid / allowed email domain