code: def update_email(strategy, details, user=None, *args, **kwargs):
      
      if user:
          email = details.get('email')
  
          if email and user.email != email:
              user.email = email
              strategy.storage.user.changed(user)
docs: Update the user's email address using data from provider.