Bug/automatic setup email field update

Does this make a difference? If so, probably flipping the `if...else` conditions (i.e. removing the negations on `!emails`…) is more readable.