Make generate_email_for actually modify user's email