structuring const strings, settings into json
Refining mail viewing UI, bug fix, minor reorg.

1. adding navigation bars on mail listing.
2. adding paging on mail listing
3. bug fix: reach first page notification might not trigger
4. bug fix: bottom jump-to bar may not work correctly.
5. various other minor changes.