pick the correct email address from the settings file