minor changes to emailCtrl
Merge pull request #30 from jhaddow/master

minor changes to emailCtrl