Simple email client implemented in AngularJS