email module now using new redis API
added few more test cases for text messages, room and queries