You can google "Gospel of Thomas", "Gospel of Mary Magdalene" and "Nag Hammadi" to find out more.
I have read the Gospel of Thomas and it sounds like he did not get it, or had a hard time remembering what he heard.
Its like a collection of sayings, not really an account of Jesus' ministry and teachings.
There are a lot of gaps in these manuscripts where you have to fill in the blanks, but the blanks are too big to fill in.
There is a series on Nat Geo or History channel called "Banned from the Bible" that covers the topic pretty well.