A couple of points. Firstly the Esdras (there are two) are in the canon. They are in the Septuagint which was the original Old Testament of the Church and are still in the Orthodox and Oriental Orthodox canons. One of them is also in the RC canon (which has a slightly reduced version of the Septuagint). Secondly, the Gnostic texts were not rejected when the canon was settled. They, along with the Gnostic Christians that wrote them, had been denounced as heretical long before the attempt at collecting the New Testament canon. The sorts of books that were rejected at the time are actually texts like the Shepherd of Hermas and the Didache. These books were not banned as someone here suggested but, on the contrary, were and (certainly in Orthodoxy) still are highly regarded. They just were deemed to be useful writings of the early Church, much like the later writings of the Fathers, rather than Scripture. There was never one definitive canon of Scripture and almost certainly never will be, but it is only the sola scripturalist that needs a black and white distinction between what is and is not inspired in this way. We tend to see inspiration on a continuum.
James