save attachments in cache directory
Attachments can amount to a huge amout of space being consumed and they are saved in the data/ directory. I believe they should be saved in the cache/ directory, making it explicit that they can be deleted without any major issues.