tb-web-ext-experiments
tb-web-ext-experiments copied to clipboard
Mail account creation API
It would be nice to have an API to add new mail account. Use case: a WebExt that automatically set alls accounts from a remote config file.
@AntoineTurmel: Thanks for the idea. I'm the primary developer of the account creation.
Can you please describe your use case closer?
Because we already have a method to allow users to set up an account. https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration It does get the config from a remote config file. The user only needs to fill in their email address and password.
Is this for your internal IT, to set up email accounts of your employees? -- If that's the case, then the addon would need to be installed first. If you can deploy the addon, then you can also deploy a config file. This is described in the above document, search for "on the harddisk". If you would like Thunderbird to automatically trigger the setup of this account, without the user opening the account creation wizard and without entering email address and password, we can consider that as feature in TB. This wouldn't be a web extension API, though. TB would simply read the local config file on first start after profile creation and automatically create the account.
If your web extension wants to create other account programmatically, can you please describe your situation in more detail?
Closing this for lack of response, please re-open or file a new issue if there is any new information.