Added SQLite support to the Mail module