I’m not sure about the electrical code for this and hopefully an expert can help. Maybe you can ask your electrician. I believe the Tesla EVSE doesn’t use neutral except when using a 10-30 adapter which doesn’t have a ground.
Hopefully you can replace the socket with a 14-30 without the...