I found the way to fix it. Apparently, Contact Form 7 or Sendgrid refuses to work properly if FROM and TO fields have email addresses from the same domain. I’ve changed the email address provided to the TO field to my email address on another domain and it worked out.
I guess it might be useful for those who will stumble across this topic looking for a solution.