Assuming both are Android, make sure that the phone is set up with a Google account & to backup to Google, this should in theory back up contacts, apps etc to the cloud however, I've not seen it do email accounts. It requires you to sign in to Google which is email+password rather than server settings.