Sections 7 to 10 apply to an electronic communication except to the extent that the parties to the electronic communication otherwise agree or an enactment provides otherwise.