Added caching. Now fetches all mails