Bug/automatic setup email field update

as for the Logic, yeah we can change it to 
if(emails && emails.length > 0){
- deferred.resolve(....);
-}else{
- deferred.reject('no email ...');
-}

what do you think??