adding email credentials to settings