gets unique message id
removed extranious code and loop through unread emails