thunderbird_accounts.mail.utils
Functions
|
|
|
|
|
|
|
|
|
Check if the archive folder exists, if it doesn't create it! This fixes a bug with our stalwart instance where it doesn't give us an archives folder... |
|
Pass in an email address and see if it's a valid / allowed email domain |
|
|
|
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.fix_archives_folder(access_token, account: Account) bool[source]
Check if the archive folder exists, if it doesn’t create it! This fixes a bug with our stalwart instance where it doesn’t give us an archives folder…
This function is a little messy, and will hopefully be removed in the future.