TMZ has confirmed ... Mel Gibson is caught on tape, screaming at his baby mama Oksana Grigorieva, "You look like a fuking pig in heat and if you get raped by a pack of niggers it will be your fault."
The tapes were secretly recorded by Oksana in the midst of their nuclear breakup and custody battle.
We've also confirmed Mel is heard on tape calling Oksana a "whore" and a "cunt."
The tapes have been submitted to the judge in their custody battle and is under seal. Sources say the tapes were recorded prior to May, when Mel and Oksana reached a custody agreement with a mediator.
And TMZ has learned ... Mel sent Oksana a number of incendiary emails that she kept.
TMZ broke the story in 2006 when Mel went nuts on a cop after being busted for DUI, saying, "Fucking Jews ... The Jews are responsible for all the wars in the world."
"You're an embarrassment to me. You look like a fucking pig in heat, and if you get raped by a pack of n***ers, it will be your fault. How dare you act like such a bitch when I have been so fucking nice. I am going to come and burn the fucking house down...but you will blow me first. Look what you did to me… look what you are… look what every part of you is… fucking fake… fucking fake. You are the most synthetic person… who the fuck are you?"