{"action":"created","issue":{"url":"https://api.github.com/repos/nylas/N1/issues/1072","labels_url":"https://api.github.com/repos/nylas/N1/issues/1072/labels{/name}","comments_url":"https://api.github.com/repos/nylas/N1/issues/1072/comments","events_url":"https://api.github.com/repos/nylas/N1/issues/1072/events","html_url":"https://github.com/nylas/N1/issues/1072","id":127501806,"number":1072,"title":"Email caching improvements","user":{"login":"visvital","id":16782724,"avatar_url":"https://avatars.githubusercontent.com/u/16782724?v=3","gravatar_id":"","url":"https://api.github.com/users/visvital","html_url":"https://github.com/visvital","followers_url":"https://api.github.com/users/visvital/followers","following_url":"https://api.github.com/users/visvital/following{/other_user}","gists_url":"https://api.github.com/users/visvital/gists{/gist_id}","starred_url":"https://api.github.com/users/visvital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/visvital/subscriptions","organizations_url":"https://api.github.com/users/visvital/orgs","repos_url":"https://api.github.com/users/visvital/repos","events_url":"https://api.github.com/users/visvital/events{/privacy}","received_events_url":"https://api.github.com/users/visvital/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-19T17:52:28Z","updated_at":"2016-01-19T19:05:42Z","closed_at":null,"body":"Requirement:\r\nSystem shall provide the option to specify the age of emails which shall be cached and locally stored.\r\nWhen user specifies the age, system shall automatically clean out emails cache for emails which are older than defined age.\r\nSystem shall automatically request emails older than specified age when user scrolls to the bottom of their emails list.\r\nWhen user runs search query system shall perform search both in locally stored emails and on server (where applicable).\r\n\r\nRational:\r\nFor exchange and emails which are stored on the server there's very small sense to keep them all on user disk. For people with large inboxes this function will eat up disk space very fast, that is why it makes sense to give an option to limit the amount of cached emails. Most common way to do it is to limit emails by age.\r\n\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/nylas/N1/issues/comments/172953546","html_url":"https://github.com/nylas/N1/issues/1072#issuecomment-172953546","issue_url":"https://api.github.com/repos/nylas/N1/issues/1072","id":172953546,"user":{"login":"bengotow","id":1037212,"avatar_url":"https://avatars.githubusercontent.com/u/1037212?v=3","gravatar_id":"","url":"https://api.github.com/users/bengotow","html_url":"https://github.com/bengotow","followers_url":"https://api.github.com/users/bengotow/followers","following_url":"https://api.github.com/users/bengotow/following{/other_user}","gists_url":"https://api.github.com/users/bengotow/gists{/gist_id}","starred_url":"https://api.github.com/users/bengotow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bengotow/subscriptions","organizations_url":"https://api.github.com/users/bengotow/orgs","repos_url":"https://api.github.com/users/bengotow/repos","events_url":"https://api.github.com/users/bengotow/events{/privacy}","received_events_url":"https://api.github.com/users/bengotow/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T19:05:42Z","updated_at":"2016-01-19T19:05:42Z","body":"Hey @visvital — thanks for the feedback. We'll definitely be adding mail caching options in the future. Currently N1 caches thread and message headers for your entire mailbox, but only caches message bodies for new mail / mail you click. The cache /will/ grow over time, and we're planning to address this in an upcoming release!"}}