code: def process_email(ctx, param, value):
      
      user = User.query.filter(User.email == value).first()
      if not user:
          raise click.BadParameter('User with email \'%s\' not found.', value)
      return user
docs: Return an user if it exists.