Sped up inbox loading time by storing mails in session array. new mails added to array.