def METHOD_NAME(self):
    """ Verify that saving still functions even on email errors. """
    assert self.api_access_request.id is None
    mail_function = 'openedx.core.djangoapps.api_admin.models.send_mail'
    with mock.patch(mail_function, side_effect=SMTPException):
        with mock.patch.object(model_log, 'exception') as mock_model_log_exception:
            self.api_access_request.save()
    # Verify that initial save logs email errors properly
    mock_model_log_exception.assert_called_once_with(
        'Error sending API user notification email for request [%s].', self.api_access_request.id
    )
    # Verify object saved
    assert self.api_access_request.id is not None
    with mock.patch(mail_function, side_effect=SMTPException):
        with mock.patch.object(model_log, 'exception') as mock_model_log_exception:
            self.api_access_request.approve()
    # Verify that updating request status logs email errors properly
    mock_model_log_exception.assert_called_once_with(
        'Error sending API user notification email for request [%s].', self.api_access_request.id
    )
    # Verify object saved
    assert self.api_access_request.status == ApiAccessRequest.APPROVED