You can cancel a LinkedIn invitation you've sent accidentally, or that you regret sending, so long as the recipient hasn't accepted your invitation.
Every email service lets you block emails, giving you the power to decide whose emails you see and whose get sent to a spam folder or deleted.