made a small change to getAllMail
added summary to get mail method.