I have integrated TR with KMail. The problem I have solved with this is finding the original email quickly once I am going to do the work.
When I am processing the Inbox (I do this many times everyday) I process all mails until the inbox is empty. I have setup some manual filters to move the mail to the REFERENCE folder, to the SOMEDAY/MAYBE folder, to the ACTIONS folder in Kmail. Until here, I presume this is what everybody does.
The integration with TR is done using an aditional filter action to process the mail through a script (see below). So when I use this filters, the "thoughts.txt" file is populated with references to the actual mails.
The thoughts.txt to be imported in TR contains lines like the following:
Code:
@ borrador plan de marketing (de user1@opensistemas.com)(30 Jul 2008) e-mail
@ mejoras en los informes (de user1@opensistemas.com)(28 Jul 2008) e-mail
@ Acuerdo de partnership (de user2@ingres.com)(5 Aug 2008) e-mail
In the example, I will import 3 thoughts in the inbox of TR with an "@", the subject of the email, the sender and the date. Then it comes a TAB and the word "e-mail" (I have this category in TR).
While processing the thoughts in TR, I copy the thought title ("@ xxxxx (from ...) (date)") to the first line in the "notes field" and leave the "Description field" to something more descriptive of the action. This system supports pseudo-linking more than 1 email to an action just adding more lines to the notes.
When TR tells me that it is time to work on that action, I just have to sort my "ACTIONS email folder" by date and by user, and I can easily find the related mail(s).
KMail used to be a Unix only mail client, but recent versions are available for Windows and Mac too.
I setup a filter to be called manually: - Filter criteria: none
- Filter actions:
- Mark as read
- Move to folder ACTIONS
- Filter through
/home/monera/bin/generate_thoughts.sh - In advanced tab:
- Mark the last three checkboxes (if this filter matches stop processing, add this filter to menu and add this filter to the toolbar)
- Assign an icon and a shortcut to the filter
The code of
/home/monera/bin/generate_thoughts.sh is:
Code:
FILE="/tmp/thoughts.dmp"
FILE2="/tmp/thoughts2.dmp"
rm -f $FILE
rm -f $FILE2
cat > $FILE
SUBJ=`cat $FILE | grep -m 1 "^Subject:" | sed 's/^Subject: /@ /'`
FROM=`cat $FILE | grep -m 1 "^From:" | sed 's/^From:.*<//' | sed 's/>.*//'`
DATE=`cat $FILE | grep -m 1 "^Date: " | awk '{print $3,$4,$5}'`
OUT="$SUBJ (de $FROM)($DATE) e-mail"
echo "$OUT" >> /home/monera/thoughts.txt
this script needs to be executable (755). Windows and Mac users, I presume you will have to adjust slashes and maybe install some basic command line commands such as awk, sed or grep. I know it could be better and more secure, but it was for personal use only
Thanks a lot for ThinkingRock. I feel very comfortable with it, and my stress level is really controlled now
P.S: At least that works with the last KMail version (the one that comes with KDE 4.1)