A MailExtension for Thunderbird (68+) that uploads large attachments to your Cloud and generates a link you can send by mail instead of the file.
*cloud is available via Thunderbird's Add-on repository.
Instead of storing your password it's more secure to use an "App Token " with *cloud. There are two ways to get such a token:
If you are using Nextcloud or ownCloud: Open your account in the browser and go to Settings -> Security -> App Token and at the bottom of the page generate a new token. Copy&paste it into the "App token" field of the Attachments preferences page in Thunderbird.
Only if you are using Nextcloud: Type your regular user password into the
Attachments preferences page in Thunderbird. Upon saving, the Add-On will
try to get a token from your Nextcloud and use it instead of your password.
You will notice the change, because afterwards the password field is filled
with dots completely (app tokens are quite long).
BUT! if getting the token fails for any reason (e.g. your Nextcloud is not reachable, timeout, wrong username, ...), the Add-On will store your password unencrypted.
If you attach a file that's already in the attachments folder in your cloud
with identical contents, that file is not uploaded again. Instead the
existing file is shared.
You can use this, if you want to share large (or many) files: Sync your attachments folder to a folder on your computer using the desktop client. If you then attach a synced file from your computer to a message, *cloud will notice that it's already uploaded. This might not work with uploads from the mobile clients, but I haven't tested it.
If you attach a file with the same name but different contents as a cloud
file, the cloud file will not be overwritten. Instead *cloud moves the
existing file to a subfolder of the attachments folder; the original share
link will remain valid and point to the old content.
Then the new file is uploaded and shared with a new share link.
*cloud uses the same method as the Nextcloud/ownCloud desktop clients to decide if the local and remote files are identical.
In some situations the url you use to access your Nextcloud/ownCloud account in the browser doesn't work in *cloud. This happens if your access url is redirected to the actual cloud location (plus some technicality).
Here is how you can point *cloud to actual cloud location:
When you save the settings, *cloud will remove everything, that's not necessary.
If this still doesn't work for you, read on:
Here is an example of what should happen:
If things look very different for you and login still doesn't work, I'd appreciate a problem report by email containing the url you pasted. Don't be afraid, the url does not contain any secret data. Thanks.
In Thunderbird's concept of FileLink Add-Ons the preferences panel is the only means of user interaction. So there is currently no supported way to ask the user for an individual download password or show a generated one. It might be feasible by unofficial methods. But that solution might break, whenever Thunderbirds API changes -- and as of early 2020 it changes frequently.
Workaround: Change the download password in the preferences pane or use multiple accounts with different passwords.
If you attach a file from a network share, it's uploaded to the cloud and the share link is inserted into your mail, but the file is also attached to the message. This is not a bug in *cloud but a known bug in Thunderbird. There is nothing I can do about it in *cloud, sorry.
Workaround: Copy the file from the network share to your local disk before attaching it.
When the download url is inserted into the email message, the hosting service is always shown as "*cloud". It would be less confusing, if instead the actual name of the service would be shown. But this is (currently) not possible, as the text surrounding the url is part of Thunderbird. And Thunderbird insists on using the name of the extension here. there's nothing the extension can do about this, sorry.
Some settings in Nextcloud/ownCloud are relevant for this Add-On:
In some configurations a start url like
redirected to the actual url of the cloud eg
*cloud has to access many different paths below this url, eg.
If these are not also redirected (
https://example.com/cloud/status.php), *cloud can't access them and
doesn't work. There is no way for the extension to find the actual base url with
There is a workaround: Users can find out the actual url and configure it in *cloud. But it's easier for users if all urls are redirected. So it would be greatly appreciated if you would do that in your cloud instance (if you have to use redirects at all). Thanks.
If you run a service based on Nextcloud or ownCloud and would like to offer a branded/tailored version of *cloud for your service, please contact me by email.
The project lives on GitLab: https://gitlab.com/joendres/filelink-nextcloud. If you'd like to contribute to the project, help with testing on different platforms, have a feature suggestion or any other comment, just contact me.
firefoxconfig option to your thunderbird binary.