We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-02-02 02:18:00 +0200

Email: delete downloaded attachments when deleting mails

Mail attachments are saved in ~/Downloads/mail_attachments/<id>/<file> as I learned here.

Image attachments are shown by the Gallery app and could also be deleted there.

But when deleting the mail itself the attachments and folders below ~/Downloads/mail_attachments/ are not deleted. The attachments should be deleted with the mail because they have not been saved explicitely by the user. Downloading attachments is from my point of view just like caching the file for faster access.

In the long run the downloaded/cached files will consume a lot of storage space. And when deleting attachments with the Galery app the empty subfolders are not deleted. Do you plan a cleanup solution inside Email app?

Email: delete downloaded attachments when deleting mails

Mail attachments are saved in ~/Downloads/mail_attachments/<id>/<file> as I learned here.

Image attachments are shown by the Gallery app and could also be deleted there.

But when deleting the mail itself the attachments and folders below ~/Downloads/mail_attachments/ are not deleted. The attachments should be deleted with the mail because they have not been saved explicitely by the user. Downloading attachments is from my point of view just like caching the file for faster access.

In the long run the downloaded/cached files will consume a lot of storage space. And when deleting attachments with the Galery app the empty subfolders are not deleted. Do you plan a cleanup solution inside Email app?