bug fixes

a e in emailTable got deleted
forgot to minus one off of k in initial count of inbox items