Archiving messages works now. Close issue#3
Merge branch 'archiving'