Simple email web app in Angular.js