autogenerates password with email authentication and saves to server

Note that we will have to change the UI for this