added mongo db email history