notmuch integration fixed + smtp
sort by threads
FIX chmod on output files