Yeah, I know. It all comes down to the filing system, I couldn't figure out another way to ensure that the files end up in the right places. So I'll try to explain the system. Here goes.
I am working towards the paperless office thing and have both work files and personal files on my computer. So for home I have files for things like:
- receipts and invoices
- workflow ideas
- gardening
- projects
etc.,
For my work I have quite a number of files one for each major area of responsibility.
I keep everything to do with these subjects in these files, emails, scans, text documents, pdfs etc., Having to manually save emails into the correct files is a right hassle. I don't want to keep them in the mail programme for two reasons: 1. I want the emails filed in context with all the other documents on that project, 2. I only have a mac air 2gb memory & just over 60 GB storage. So I have ended up putting these files on an external hard drive (yes I know that defeats the purpose of having the amazing speed of a mac air but I love it's portability and I can't afford to upgrade).
So when emails come in I read them, deal to any needed actions and then simply drag and drop them to a mailbox which has the same name as the project folder that I would like them filed in. I run Email Archiver at the end of the day and it files them all into corresponding archives. I could just let them stay there but as I said I want them in context in their relevant folders. Email Archiver has a fairly involved folder structure: each mbox has subfolders for year, then subfolders for month, then the emails, it then creates further subfolders for the attachments for the emails (that's the bit I haven't gone back to and figured out yet). So I need Hazel to file all the emails in the "garden" mbox for example into my "garden" folder on my external harddrive.
The rules that I have running on each mbox are:
1. Go into subfolders
If all of the following conditions are met for the file or folder bing matched:
Kind is Folder
Run rules on folder contents
2.Rename Received and File
If all the following conditions are met for the file or folder being matched
Kind is: PDF --this excludes the log files that email archiver puts in there
Authors do not contain: (my name)
Rename with pattern: authors - date created - title extension
Move to folder: Garden
3. Rename forwards and file
If all the following conditions are met for the file or folder being matched
Authors contain: (my name)
Contents contain: To: (my name)
Kind is: PDF
Rename with pattern: RM - date created - title extension
Move to folder: Garden
4.Rename Sent and File
If all the following conditions are met for the file or folder being matched
Kind is: PDF
Authors: contain (my name)
Contents do not contain: To: (my name)
Rename with pattern: recipient email address - date created - title extension
Move to folder: Garden