Fix broken TMail, revert to using SMLite.
More work on RESTful implementation.