Fixed MailSo header parsing
Fix local storage (Closes #303)