Factory reset from within android erases stored personal data, but you still can setup the device with any other email account. Reset from recovery mode erases stored personal data and lets you setup the device with only that email account with which it was setup previously. In any case you can recover your photos if your photos were previously set to be backed up from Google Photos to Google Drive. You can recover your Google account from any PC by following any recovery method you have previously set up and then checking your Google Drive. Hope this helps.