Fixed for loop in ajax call for mail data.
- TODO: fix setInterval call.
Merge pull request #9 from wobh/master

Fixed loop in AJAJ call
conflict