code: def sendUserInvitationRevoked(self, context={}):
      
      organization, invited, invitator = context['invite'].organization, context['invite'].invited, context['invite'].invitator
      # invited user email
      self.__init__(organization, async_mail=self.async_mail, override_receiver=invited.email, locale=invited.locale)
      self.sendEmail('userInvitedRevoked-toUser', 'Your invitation to an organization has been revoked', context)
  
      if organization.owner == invitator:
        self.__init__(organization, async_mail=self.async_mail, override_receiver=organization.owner.email, locale=organization.owner.locale)
        self.sendEmail('userInvitedRevoked-toOwnerInviter', 'You have revoked an user invitation', context)
      else:
        self.__init__(organization, async_mail=self.async_mail, override_receiver=organization.owner.email, locale=organization.owner.locale)
        self.sendEmail('userInvitedRevoked-toOwner', 'An invitation to join your organization has been revoked', context)
  
        self.__init__(organization, async_mail=self.async_mail, override_receiver=invitator.email, locale=invitator.locale)
        self.sendEmail('userInvitedRevoked-toMemberInviter', 'You have revoked an user invitation', context)
docs: Sent when user is invitation is revoked